Skip to content

fix: deep-merge nested dicts in ConfigDict constructor's *args path - #18

Merged
Adithya-Thonse merged 1 commit into
TexasInstruments:mainfrom
musicalplatypus:pr/configdict-deep-merge
Aug 5, 2026
Merged

fix: deep-merge nested dicts in ConfigDict constructor's *args path#18
Adithya-Thonse merged 1 commit into
TexasInstruments:mainfrom
musicalplatypus:pr/configdict-deep-merge

Conversation

@musicalplatypus

Copy link
Copy Markdown
Contributor

Summary

ConfigDict's constructor merges positional-arg dicts into the base config with a shallow dict.update(). A partial override of a nested key (e.g. training.native_amp) wholesale-replaces the entire nested dict, silently dropping sibling keys that weren't part of the override (e.g. training.learning_rate, training.batch_size).

Root cause

ConfigDict.__init__'s *args merge loop calls input_dict.update(value) directly. dict.update() is shallow — for a top-level key whose value is itself a dict, the entire sub-dict is replaced rather than merged. ConfigDict.update() (the instance method, used elsewhere) already does a recursive merge; the constructor's *args path just didn't match that behavior.

Fix

Adds a _deep_merge static method and uses it in the constructor's *args loop instead of input_dict.update(value), matching the recursive-merge semantics ConfigDict.update() already provides.

Verification

Added a regression test (test_config_dict.py) that constructs a ConfigDict with a default nested dict and a partial override, asserting sibling default keys survive the override.

🤖 Generated with Claude Code

The constructor merged positional-arg dicts into the base input with a
shallow dict.update(), so a partial override of a nested key (e.g.
training.native_amp) wholesale-replaced the entire nested dict, silently
dropping sibling defaults (training.a). Adds a _deep_merge helper and
uses it in the *args path, matching the recursive-merge behavior
ConfigDict.update() already has.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@musicalplatypus

Copy link
Copy Markdown
Contributor Author

CI failure investigated — pre-existing on upstream/main, unrelated to this PR.

Verified directly against upstream/main's own most recent CI run (same base commit, 331388a): https://github.com/TexasInstruments/tinyml-tensorlab/actions/runs/30376872256 — it already fails identically on macOS + Ubuntu with:

FAILED test_config_validation.py::...test_task_type_is_valid[google_speech_command/config_MSPM0.yaml] - unknown task_type='audio_classification'
FAILED test_config_validation.py::...test_model_name_exists_in_registry[...] - model 'DSCNN_NPU' not in registry

This PR's CI run shows only that same subset — no new failures introduced. It's fixed in #19; should resolve automatically once that merges. (Windows failures don't block merging — the workflow marks that runner continue-on-error: true.)

@Adithya-Thonse
Adithya-Thonse merged commit 2af5d26 into TexasInstruments:main Aug 5, 2026
0 of 3 checks passed
Adithya-Thonse added a commit that referenced this pull request Aug 14, 2026
23a2fa30 fix: eliminate Python 3.14 terminal noise from multiprocessing and ONNX
REVERT: ed2a0df8 Pull request #97: added soundfile so that the correct backend is installed to support audio_applications
REVERT: 3a38e077 added soundfile so that the correct backend is installed to support audio_applications
REVERT: 506eb9e3 Pull request #96: Did nan check for loss to check training instability TINYML_ALGO-730
REVERT: 539fe129 Did nan check for loss to check training instability TINYML_ALGO-730
REVERT: f2ff07be Pull request #95: range normalise preprocessing function removed
REVERT: 3110abeb range normalise preprocessing function removed
REVERT: d34a25f2 Pull request #92: MSPM0 V2
REVERT: 9980157b resolved the comment, added range_normalization argument parser in correct place
REVERT: 69e200df all changes due to range normalisation argument addition
REVERT: 54a07f27 Pull request #93: Fix: added check for integration in AutoML
REVERT: 9e95da6e Added subset = None check to enable integration in AutoML flow
REVERT: f0412f8a Merge branch 'MSPM0_V2' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0_V2
REVERT: f6b44a45 feature extraction function and its flag is added
REVERT: 94251b38 Bug fix
REVERT: 19b438f8 Pull request #91: incorporated Qodo suggestions
REVERT: f54f0c53  incorporated Qodo suggestions
REVERT: b08b4058 Pull request #90: audio and image data loader scripts
REVERT: 618b5c8a no message
REVERT: 43281d16 no message
REVERT: 5da3efd7 no message
REVERT: e6170a80 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0_V2
REVERT: 9755f8e3 fixes for audio_dataset
REVERT: 442dfe4f support for audio added
REVERT: eea264cc Pull request #80: Added training data exporting functionality to tinyverse.
REVERT: be2564c1 Handled the cases where the raw dataset can be 3d or 4d depending on whether feature extraction is applied or not
REVERT: d11f9e01 Added support to export conv2d layer for ondevice learning
REVERT: e090edb3 TINYML_ALGO-559: Added training data exporting functionality to tinyverse. Data will be exported in ondevice_training_data.c,.h
REVERT: e28db628 Pull request #89: TINYML_ALGO-586: Adding hawq based automatic mixed precision flow in regression, classification, anomaly detection, forecasting train.py
REVERT: 92165e59 spacing
REVERT: 5d2e78bc adding tolerance flow from params.py, utils.py flow through kwargs, and changes in four flows train.py
REVERT: 98869ac4 changing variable name to auto_quantization
REVERT: b2247eeb forecasting mixed precision flow
REVERT: 73c6929d Changes in train.py for all 3 flows regression, classification and anomaly detection to support automatic mixed precision when partial_quantization is True
REVERT: 9580c3e7 adding hawq based partial quantization flow in regression train.py
REVERT: 3c02f8d5 Pull request #88: Image Classification transforms + augmentation
REVERT: c9733e30 enabled training only online augmentation for image datasets
REVERT: 42c4a64f added enable_online_augmentation flag as suggested
REVERT: 1da8c217 no message
REVERT: 2a525fd0 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0_V2
REVERT: ece4ebec no message
REVERT: 6e467c8c added opencv-python package for image classification tasks
REVERT: fdea5c96  Added GenericImageDataset support for image classification tasks - Added deterministic image preprocessing transforms:   - GRAYSCALE   - RGB   - RESIZE   - RESIZE_PAD   - AUTOCONTRAST   - EQUALIZE   - INVERT   - CLAHE   - SOBEL   - LAPLACIAN   - BINARIZE
REVERT: d8feb816 TINYML_ALGO-706
REVERT: ceadc440 TINYML_ALGO-705
REVERT: 57f17ac7 TINYML_ALGO-703, TINYML_ALGO-704
REVERT: 2f852929 Pull request #87: Added description on how to read the reconstruction error graph
REVERT: 8b94009e Added description on how to read the reconstruction error plot
REVERT: 6def19ec TINYML_ALGO-678
REVERT: ce0619db TINYML_ALGO-663
REVERT: bb68e886 Pull request #83: edgeai studio regx fix for mspm0
REVERT: 34bab9ef added support for q15-scale-factor( consumed by the rfft preprocessing even for regression task) in train.py and test_onnx.py for timeseries_regression task aswell
REVERT: bf30cb3e bug fix causing a difference in feature extraction with RAW based presets
REVERT: 02252138 Pull request #82: Updated logs to print the average mse of epoch  as well along with the first batch mse
REVERT: d7f07bea Updated logs to print the average mse of epoch  as well along with the first batch mse
REVERT: fb1b3c26 TINYML_ALGO-640
REVERT: 95d00fa2 Pull request #81: Added user_input_config.h flags for pir_fixed point feature extraction
REVERT: 189c25fa no message
REVERT: d5148d0e TINYML_ALGO-532
REVERT: 1fe83124 TINYML_ALGO-638
REVERT: 6828df1f Pull request #79: Adding LR logs using Metric logger in regression
REVERT: e777c8b1 changing log for test to match other flows
REVERT: bd15248e lr in logs using metric logger
REVERT: 79cf4e87 minor
REVERT: 7cd33257 Pull request #78: TINYML_ALGO-609: fix: resolve torch tensor and numpy compatibility issues in timeseries forecasting
REVERT: 41837b43 fix: resolve torch tensor and numpy compatibility issues in timeseries forecasting
REVERT: a2da1c3f TINYML_ALGO-583
REVERT: 8c55e5b1 TINYML_ALGO-571
REVERT: 47d35155 TINYML_ALGO-573
REVERT: 58553315 Pull request #77: Added fixed point feature extraction fns for MSPM0
REVERT: 5e6e20f4 Resolve qodo comments
REVERT: c8f56ed2 Typos fixed
REVERT: 2cc925ca Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0_V2
REVERT: 905ec313 Bug fix
REVERT: 1af367e5 Pull request #76: Add PIR Feature Extraction - Fixed point
REVERT: 5092ed20 Add PIR Feature Extraction - Fixed point
REVERT: 980464fc Pull request #75: 2026/adithya/modelzoo
REVERT: 05b58ad7 updated the 55k generic TS models architecture to make sure all the layers are optimized to run on the NPU
REVERT: feae6571 minor
REVERT: 2d508f97 Pull request #74: args.output_int set by user is None by default
REVERT: b29f4df0 args.output_int set by user is None by default
REVERT: 30f427e8 Pull request #73: Fixed few datatypes issues in ondevice_training.py and updated the confusion matrix similar to classification style.
REVERT: 7efa609f Fixed few datatypes issues in ondevice_training.py and updated the confusion matrix similar to classification style.
REVERT: 46a631a6 TINYML_ALGO-457
REVERT: 369d98ae Pull request #72: Similar for image classifiication, forecasting, regression and anomaly detection
REVERT: ff4218f5 Similar for image classifiication, forecasting, regression and anomaly detection
REVERT: 68796da9 Pull request #71: TINYML_ALGO-566 Enable test_vector for mspm33
REVERT: 3afb4821 TINYML_ALGO-566 Enable test_vector for mspm33
REVERT: 2be6c3f0 Pull request #68: ecg classification model and feature extraction added
REVERT: 49352411 Pull request #70: TINYML_ALGO-513 : adding partial quantization variable and flow
REVERT: 6de8871e Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0_V2
REVERT: fc21948f adding parser for partial_quantization
REVERT: 0431a19a adding partial quantization variable and flow
REVERT: 551f9fe7 changes regarding naming convention of pre-processing function
REVERT: 106930c6 Pull request #69: Added 1k model for regression TINYML_ALGO-243 Regression Models
REVERT: e529143b Added 1k model for regression TINYML_ALGO-243 Regression Models
REVERT: 36b83571 flag input_batch_norm is removed in the newer version, so i removed it too
REVERT: 78d06ef2 ecg classification model and feature extraction added
REVERT: 332ab419 Bug fix, installing onnx-graphsurgeon
REVERT: a0b5bdc6 Pull request #67: Added support to export the trainable model by specifying k layers from last.
REVERT: 9f373c79 Added support to export the trainable model by specifying k layers from last. Used onnx_graphsurgeon to extract and export the last k layers
REVERT: 7e13fd7e TINYML_ALGO-542
REVERT: 707f8734 Pull request #66: TINYML_ALGO-538 Tinyverse: Support for SKIP_NORMALIZE, when feature extraction isn't used
REVERT: bedcfde7 TINYML_ALGO-538 Tinyverse: Support for SKIP_NORMALIZE, when feature extraction isn't used
REVERT: 1883e300 TINYML_ALGO-537
REVERT: e0e5b2a6 Pull request #59: Added RNN,LSTM,GRU layers and LSTM(hidden size=5) model
REVERT: bd6d7e6e Bug Fix for TINYML_ALGO-531
REVERT: 4c858e07 golden vector generation in forecasting, code structural change that follows latest code changes in main-dev, Removed with_input_batchnorm in the LSTM models
REVERT: 99807e5a Merge branch 'main-dev' of bitbucket.itg.ti.com:tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: a5441771 TINYML_ALGO-531
REVERT: f7738872 Bug fix reported by Fasna
REVERT: 9341adea Bug fix reported by Fasna
REVERT: 98ac91bb TINYML_ALGO-530
REVERT: a080b508 TINYML_ALGO-530
REVERT: 71bef15a Removed with_input_bathnorm from LSTM models
REVERT: 8c02ea3b rebase
REVERT: d9576898 TINYML_ALGO-529
REVERT: 21ab3380 TINYML_ALGO-528
REVERT: 31ad11f2 Code Cleanup
REVERT: c9eecaa2 TINYML_ALGO-523
REVERT: f4654213 minor
REVERT: 15f4356d Added LSTM8 forecasting model
REVERT: a13b8b70 Code Cleanup
REVERT: c4a6f5b7 TINYML_ALGO-517, TINYML_ALGO-519, TINYML_ALGO-520
REVERT: 3ce34f72 TINYML_ALGO-522
REVERT: a042db6a TINYML_ALGO-522
REVERT: ac077f7c TINYML_ALGO-522
REVERT: 33e673b4 On Device Learning flow made available as an argument for all train scripts
REVERT: b132787d Pull request #65: Added support for on device learning in Tinyverse.
REVERT: 62f01b0e Added support for on device learning in Tinyverse. Added a model with frozen and trainable parts and exported frozen model with tvm and created trainable_parameters.c/.h for the trainable parts of the model
REVERT: 945fd011 Pull request #63: 2025/tushar
REVERT: 862771e9 TINYML_ALGO-515 Tinyverse: Incorrect raw_test_input when not using FE
REVERT: 97845ffc Pull request #62: fixed a small bug, when num_frame_concat is greater than 1, the feature_size_per_frame and stack frame width are getting populated wrongly
REVERT: 455ebd5d fixed a small bug, when num_frame_concat is greater than 1, the feature_size_per_frame and stack frame width are getting populated wrongly
REVERT: eb0d7951 max pool layer of kernel_size (1, 1) doesn't make sense
REVERT: de63b73d Merge branch 'main-dev' of bitbucket.itg.ti.com:tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 0ee46974 Pull request #61: Correction in default value of skip_normalize
REVERT: edd5ac28 Correction
REVERT: 03f80db3 Pull request #60: TINYML_ALGO-494 ModelMaker: Compilation arguments of skip_normalize and output_int required in user_input_config
REVERT: 659a2abc Included model_test_input in test_vector.c so as to align it with newer feature extraction library
REVERT: 7c5b8207 corrected output tensor shape
REVERT: 12871613 Added RNN,LSTM,GRU layers and LSTM(hidden size=5) model
REVERT: 3091af25 TINYML_ALGO-494 ModelMaker: Compilation arguments of skip_normalize and output_int required in user_input_config
REVERT: 4b5fd8f3 Pull request #58: mspm0 bin_size Fix
REVERT: 23a54813 fixed the bin_size getting generated for bin_q15. earlier the flag was capturing the correct value but the self.bin_size was wrong
REVERT: 3164a182 Pull request #54: fix for mnist classification example
REVERT: a54577e1 Pull request #55: added support for PIR-net
REVERT: 0859ef7c removed print statements in test_onnx.py
REVERT: 520c4a14 removed commented out statements
REVERT: 49a157ce removed print statements
REVERT: f45b88b2 fix after evaluate_classification function was changed
REVERT: 65ca0a24 added support for PIR-net
REVERT: 1e9123d9 Pull request #52: Added a new model with linear layers and update the existing CNN model to support any length input
REVERT: 6a1b079a Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0
REVERT: d1c463b9 Added a new linear model and update the existing CNN model to support any length input
REVERT: 8851a8a2 Pull request #51: washing machine example changes and reg flow
REVERT: 21c84f1f washing machine example changes and reg flow
REVERT: 8986645e Minor bug fix on window-count
REVERT: 2819a433 TINYML_ALGO-468
REVERT: d230ff77 Pull request #50: added support for PIR-net
REVERT: ad30f116 ammended __init_.py script to enable PIR model
REVERT: 3f8d3191 modified compilation.py script for print statement for CC2755
REVERT: ee1b8a55 added support for PIR-net
REVERT: bffe3a61 TINYML_ALGO-463: All flows changed to not reload dataset for quantization
REVERT: 86ef2b68 TINYML_ALGO-467- Torchinfo summary breaks Model Composer (but not Modelmaker)
REVERT: 7d986e94 Pull request #49: adding 4k washing machine model
REVERT: 61f3f994 washing machine 4K params model
REVERT: 571098da adding 4k washing machine model
REVERT: 970fc80f TINYML_ALGO-465: Bug fix that caused IP models to be printed in model.summary
REVERT: 4a8f4de0 TINYML_ALGO-463- Dont re-load dataset for quantization in all flows
REVERT: bb8e10b4 Pull request #48: 2025/abhijeet
REVERT: 93be44ed relevant changes in regression flow
REVERT: 79735ee0 Minor changes in reg train.py
REVERT: 972d47f3 Based on discussions with MCE team, the environment variable for MSPM0's compiler is renamed from MSPM0_CGT_PATH to ARM_LLVM_CGT_PATH. This maintains consistency with other MCEs as well as CCS
REVERT: 98250ec0 washing machine models and regression flow
REVERT: 630299d0 Changes 29th Sept washing machine
REVERT: 293725ec TINYML_ALGO-423 : August Example Battery_RUL Regression Model
REVERT: 7461f213 Pull request #45: Added anomaly detection flow
REVERT: 52d54aab Pull request #47: fixes
REVERT: b69081ea fixed the accidental removal of  self.preprocessing_flags.append('SKIP_NORMALIZE')
REVERT: ddb56ffb Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0
REVERT: 10450aca Fixed the issues mentioned in the Anomaly detection flow PR
REVERT: 226c5b66 Added anomaly detection flow
REVERT: 3dff5b52 no message
REVERT: d3e6a97a Pull request #46: Correction
REVERT: 3b43b964 Correction
REVERT: bdf8d2b5 Pull request #44: Minor fixes in forecasting flow
REVERT: 8e9a14b9 Flattening axes in scatter plot to prevent indexing issues
REVERT: a3c2810c minor
REVERT: bdc4f6a6 minor changes
REVERT: ff984086 TINYML_ALGO-454
REVERT: e4d81e39 Pull request #43: 2025/tushar
REVERT: 2b3868b4 For backward compatability using value of FE_LOG_BASE as evaluated value of e
REVERT: 7c368cb8 TINYML_ALGO-452 Tinyverse: Feature extraction params and preprocessing flags for new AI Library
REVERT: ba1c2a53 Merge branch 'main-dev' of bitbucket.itg.ti.com:tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 2c32eace minor
REVERT: 0723948c Pull request #41: TINYML_ALGO-444: Training process to provide feedback on which data files caused false alarms
REVERT: 4636a96a Release prep for v1.2
REVERT: 8bb3fe56 Pull request #39: Additional feature extraction functions added for MSPM0 + image_dataset.py and LENET5 model
REVERT: 3ef22225 no message
REVERT: 10c652d1 changed FE_SCALE nomeclature to FE_COMPLEX_MAG_SCALE and FE_COMPLEX_MAG_SCALE_FACTOR
REVERT: 3807389a no message
REVERT: 70e51d3b comment out unnecessary info print
REVERT: ba23a26a removed blank lines
REVERT: 7b0a72d7 renamed MnistDataset to GenericImageDataset and added logger info statements.
REVERT: 4dbc4868 removed unncessary parameters from train.py and test_onnx.py for image classification. renamed MnistDataset to GenericImageDataset
REVERT: 0e026f04 minor
REVERT: 8e87e24b minor changes
REVERT: dc890465 minor changes
REVERT: 1e77f792 Changed logging configuration of file_level_classification_summary
REVERT: 9618dfe5 Training process to provide feedback on which data files caused false alarms
REVERT: f0b35589 added torchvision==0.22.1 for image_classification
REVERT: a8225167 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into MSPM0
REVERT: f5a3b6e3 no message
REVERT: bbe1e091 no message
REVERT: 03b7376e minor fix for mnist
REVERT: f8d5326d merged mnist branch into mspm0 branch
REVERT: def9876c Merge branch 'mspm0-lenet5-mnist' into MSPM0
REVERT: 138a59da no message
REVERT: 4ad59997 Pull request #40: Removed model_test_input from test_vector.c since forcasting does not use feature extraction transforms (concat) for now
REVERT: d22a5d87 no message
REVERT: 708fb469 Fixed error in log transformation , now users can choose their own log base (earlier only 10 and e were allowed), updated preprocessing flags for classification and forecasting so that it takes correct user input from config
REVERT: 22e37c17 Removed model_test_input from test_vector.c since forcasting does not use feature extraction transforms (concat) for now
REVERT: ddd01d2c temp changes
REVERT: 8b2f5a48 minor cosmetic fixes for the pr
REVERT: 9d31643b cleaned up the to q15 fn
REVERT: 78817869 fix for pytoml to not download from github as we have observed some issues there
REVERT: e59e1e09 basic support for lenet5
REVERT: bc2470d7 all modifications done to support timeseries applications for mspm0
REVERT: 639a9a86 Pull request #38: Correction for non availability of feature size per frame
REVERT: c1f2e167 Correction for non availability of feature size per frame
REVERT: 8e4d584f fixed a tiny bug
REVERT: bd393b8a Pull request #36: Running only a model without feature extraction requires these flags in user input config
REVERT: 3ac67ee9 Replicating in all files
REVERT: 591e8275 Pull request #37: 2025/fasna
REVERT: c650fb75 Generate golden vectors for forecasting
REVERT: 7b7ba9ba Generate golden vectors for forecasting
REVERT: f8dcf1fa Running only a model without feature extraction requires these flags in user input config
REVERT: e065b55a TINYML_ALGO-442
REVERT: d3055aae TINYML_ALGO-442: Gain variations for different classes in a classification task
REVERT: bbcf5efd Merge remote-tracking branch 'origin' into MSPM0
REVERT: 7bf44162 no message
REVERT: 31a57635 updated timeseries_dataset.py to replicare kilby's ac arc feature extraction flow
REVERT: a3ed3fcf Pull request #35: Bug Fix: Malformed node or string error for certain files
REVERT: 1414d49a Merge branch 'main-dev' of bitbucket.itg.ti.com:tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 5f674c57 Minor changes
REVERT: afd5d745 Minor edit in logger placement
REVERT: 7b4bc89a Minor bug fix
REVERT: 0e936f8c Pull request #34: Use tensors to calculate r2_score and smape
REVERT: 04907b09 Merge branch 'main-dev' of bitbucket.itg.ti.com:tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 5273ee45 added metric logger statements
REVERT: d9683239 TINYML_ALGO-412, TINYML_ALGO-413, TINYML_ALGO-414
REVERT: 784c6fe8 Merge branch 'main-dev' of bitbucket.itg.ti.com:tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: e8adc402 use tensors to calculate r2_score and smape
REVERT: c5dd15be Merge branch 'main-dev'
REVERT: bb69d679 TINYML_ALGO-404: Quantization accuracy on Windows is generally poor
REVERT: 4dad6028 Merge branch 'main-dev'
REVERT: 4f1981b0 Pull request #33: TINYML_ALGO-372: Timeseries Forecasting (tinyverse) TINYML_ALGO-405: (GoF now handles multiple file types)
REVERT: bb155b12 updated r2_score function
REVERT: fc8f8cf0 GoF now handles multiple file types
REVERT: 36fff4f3 cleaned code
REVERT: 4db482f9 cleaned utils.py
REVERT: 8f52d9ce cleaned timeseries_dataset.py
REVERT: f7de8731 r2 score bug
REVERT: 1b2be41c minor
REVERT: b3570fef minor
REVERT: f471eabd minor
REVERT: a78991df minor
REVERT: 8c8d3161 minor
REVERT: e4f5a614 removed rnn code
REVERT: 5083b626 removed rnn code
REVERT: 4685fd35 cleaned code
REVERT: ab6955c1 minor
REVERT: 79416ff4 minor
REVERT: a6e840a5 minor
REVERT: aceb7ec1 minor
REVERT: bbb0e047 minor changes
REVERT: 36ff7a91 deleted files
REVERT: 047fd468 Merge branch 'main-dev'
REVERT: dbb19fe8 TINYML_ALGO-406: Fixed torch not compiled with CUDA issue
REVERT: 1cba1a90 Changed submodules to pip install from specific version instead of main
REVERT: 67f0c9ab Changed submodules to pip install from specific version instead of main
REVERT: 317a03c9 Pull request #30: Minor bug fix
REVERT: 50e01da8 Minor bug fix
REVERT: 65b59fb4 Pull request #29: Main dev to main merge
REVERT: d51eeaaa TINYML_ALGO-364 - Cleanup of unnecesasry packages and cross platform support
REVERT: a0dace5d TINYML_ALGO-397
REVERT: a9145a49 TINYML_ALGO-397-Evaluate TimeSeries_Generic_6k model
REVERT: 2fb09496 TINYML_ALGO-398: Dataset Loader fails when file size is small (but larger than frame size)
REVERT: 16d2d5a0 Even quantization training now reports best epoch instead of last epoch
REVERT: 7707eac6 Pull request #28: 2025/tushar
REVERT: 8ce7c65f Enable normalization calculations only when needed
REVERT: 1b1ffd9e Added lambda reg param
REVERT: 1e9bd1f0 TINYML_ALGO-394, TINYML_ALGO-395 : Support for F29, SDK dependency removed from MSPM0
REVERT: 73b59d2c Merge branch '2025/tushar' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into 2025/tushar
REVERT: 24251e83 TINYML_ALGO-243 Regression Models
REVERT: 2018d5e9 TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: ea45f4dd TINYML_ALGO-243 Regression Models
REVERT: e404ba57 TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: af397741 TINYML_ALGO-243 Regression Models
REVERT: 62a34f2b TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: e3269719 TINYML_ALGO-243 Regression Models
REVERT: 4dbf4f9e TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: fb11d23a Smooth exit to NAS not finding a GPU
REVERT: d53a2622 Pull request #27: Adjusments for NAS
REVERT: be8bc663 Merge branch '2025/soum' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into 2025/soum
REVERT: f29c492c Adjusments for NAS
REVERT: a119c972 Adjusments for NAS
REVERT: 8309d69e added scalling
REVERT: 6c31bfe5 Backup
REVERT: 92aac8ce initial commit: Forecasting
REVERT: bff06220 TINYML_ALGO-385, TINYML_ALGO-386 - Version upgrade to 1.1 & C2000Ware 6.0
REVERT: a5e2b7c7 Merge branch '2025/tushar' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into 2025/tushar
REVERT: ba0cadb9 TINYML_ALGO-243 Regression Models
REVERT: 6ea655e4 TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: d3d5fefc TINYML_ALGO-243 Regression Models
REVERT: bab246b4 TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: 54645d0e TINYML_ALGO-380: Modelmaker to be compatible with ti-mcu-nnc-2.0.0
REVERT: 3301c344 TINYML_ALGO-381: Moving away from requirements.txt
REVERT: e925666e Merge branch '2025/tushar' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into 2025/tushar
REVERT: 97f0b966 TINYML_ALGO-243 Regression Models
REVERT: 45a6c967 TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: ed25ff1f TINYML_ALGO-243 Regression Models
REVERT: c794d418 Added decimation, high pass filter, q15 transformation and fixed point fft (CMSIS DSP Q15) as part of feature extraction.
REVERT: 567b1bb5 TINYML_ALGO-376
REVERT: cabbe55a Merge branches '2025/tushar' and '2025/tushar' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-tinyverse into 2025/tushar
REVERT: 4b3c6c2d TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: e30a3960 Pull request #25: TINYML_ALGO-352: Dataset header handling fix
REVERT: 772886e4 TINYML_ALGO-374 : AUC ROC & confusion matrix computation breaks if test dataset does not have ground truth representing all the classes
REVERT: ac64597b TINYML_ALGO-373: If every epoch's accuracy is 0 or nan, then it wont export any checkpoint and breaks the flow
REVERT: 04804b85 Dataset header handling fix
REVERT: d3c72bc5 dataset header handling
REVERT: 05973c7c dataset header handling fix
REVERT: 5630633a TINYML_ALGO-367 Enabling golden vectors for  regression
REVERT: 688560ed fixed typo
REVERT: 8d76b14b TINYML_ALGO-290: Updated toml with newer packages
REVERT: fdca7005 TINYML_ALGO-290: Python package version updated
REVERT: 35d97005 Pull request #24: Model Addition and correction in golden output dtype
REVERT: 9c12b6e2 TINYML_ALGO-20 Addition of Models from STZoo TINYML_ALGO-353 dtype of golden output based on quantization type and output_dequantize
REVERT: 47405172 Pull request #18: TINYML_ALGO-347 Tinyverse: Scale inputs before feature extraction and after loading datafile
REVERT: b2c79bf8 TINYML_ALGO-347 Tinyverse: Scale inputs before feature extraction and after loading datafile
REVERT: 4e8f13ca Pull request #17: TINYML_ALGO-343 Added argument to get quantized/dequantized output from model
REVERT: 687d26e5 TINYML_ALGO-343 Added argument to get quantized/dequantized output from model
REVERT: ca3b281a TINYML_ALGO-342
REVERT: b558a717 Minor bug fixes
REVERT: c85acec8 Fix for quantization error logging
REVERT: 768d678c Exception Handling if Multiclass ROC plots encounter NaN error
REVERT: f7afbdcc Updated for quantization_error_logging
REVERT: 3c01b294 GOF Utils doesnt display the plots. Just saves them
REVERT: 44298e23 Pull request #14: TINYML_ALGO-239: Set default value of frame_skip to 1
REVERT: d9d067f2 made frame_skip internal for gof
REVERT: 1b43783f frame_skip set internally inside gof
REVERT: 538b7ba4 Merge branch 'main' of https://bitbucket.itg.ti.com/scm/tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 4798b93d Minor bug fix if CGT path isnt found
REVERT: 20929a74 Updated regression flow bugs
REVERT: a24fe384 Minor update to setup files
REVERT: 1197abe1 Updated YAML structure
REVERT: 3c9d0662 Merge branch 'main' of https://bitbucket.itg.ti.com/scm/tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 0f16fb4d Updated YAML structure
REVERT: 89c382c6 Minor bug fix
REVERT: 22170254 Pull request #15: correction in residual model, assigning values of config dict to self
REVERT: 0b6a49b4 correction in residual model, assigning values of config dict to self
REVERT: 42179ceb Merge branch 'main' of https://bitbucket.itg.ti.com/scm/tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: 408e2e0c Set default value of frame_skip to 1
REVERT: bf6b2135 Minor bug fix
REVERT: 3eb17c9c Bug fix
REVERT: 941a3f47 Minor bugfixes
REVERT: 1a243066 Pull request #12: TINYML_ALGO-280 March App Example for slicing model
REVERT: caa4c69e Pull request #13: TINYML_ALGO-239: Goodness of Fit Test Integration in tinyverse
REVERT: b6c21659 Renamed gof_test.py to gof_utils.py
REVERT: f0672103 Modified GoF notes and updated output directory of plot
REVERT: 5159945b Merge branch 'main' of https://bitbucket.itg.ti.com/scm/tinyml-algo/tinyml-tinyverse into 2025/fasna
REVERT: d0071c81 Goodness of Fit Test Integration
REVERT: 3b461b48 removing copy of GenericTSDataset
REVERT: cbdde8ab TINYML_ALGO-280 March App Example for slicing model
REVERT: f92aa218 Pull request #11: 2025/adithya autoencoder
REVERT: 2c294adf Feature Update for Anomaly Detection: TINYML_ALGO-265, TINYML_ALGO-266, TINYML_ALGO-267, TINYML_ALGO-268
REVERT: 13aa6ce5 Flowflush completion
REVERT: 597af0dd TINYML_ALGO-282 Models are separated out into different files for better UX. Addition of Autoencoder Model Examples. TINYML_ALGO-265, TINYML_ALGO-266, TINYML_ALGO-267, TINYML_ALGO-268
REVERT: 4faaeabf Draft commit
REVERT: 6b5d535a Initial commit
REVERT: 8d1dbb16 Pull request #10: 2025/adithya cnn preprocessing
REVERT: 716fcc79 updated feature extraction model
REVERT: 50b8aa40 change linear to conv_bn_relu as linear is expensive for computation
REVERT: acd7f4c5 using FE lInear model and adam optimizer
REVERT: 235d73e9 More bug fixes
REVERT: 7b4a2875 Draft commit
REVERT: ad985f6e Floating point training works and is able to export a model. QAT fails. TVM also fails
REVERT: dbfb3e3d Minor update
REVERT: 5184f662 Draft commit
REVERT: 8e4b3888 Draft
REVERT: 6a7c201e Lot of bug fixes
REVERT: 75654907 Minor bug fix
REVERT: ef0afec9 Minor bug fix
REVERT: a6db9a3b Support for gpu compute from tinyml-mlbackend
REVERT: a26968d1 Bug Fix
REVERT: 106c1f1d Minor bug fixes
REVERT: 94a6df5f TINYML_ALGO-250, TINYML_ALGO-251 - Torch mps backend support
REVERT: 1f367061 PTQ and QAT support in toolchain, Ternary and 4 bit support in Toolchain: TINYML_ALGO-253, TINYML_ALGO-254, TINYML_ALGO-255, TINYML_ALGO-256, TINYML_ALGO-257
REVERT: 19dd4255 Pull request #9: 2025/tushar
REVERT: 3a8dbab9 correction
REVERT: b1f139ae working towards support for regression
REVERT: 39656031 Minor bug fix
REVERT: 1ee07e9c test-bench requires artifacts generated at compilation stage
REVERT: 21bce30e correction in FFTBIN 1D, 2D stacking
REVERT: ea6d408c TINYML_ALGO-242 , General Cleanup
REVERT: ea2f4ac2 Minor changes
REVERT: 0c8d235f Feature Support for Timeseries Regression. TINYML_ALGO-235, TINYML_ALGO-233
REVERT: 41055955 Minor readme update
REVERT: 6cf28609 Minor bug with redundant statements
REVERT: a2d4edc7 Preparation for v1.0 release
REVERT: da91ce9a Amended the temporary commit
REVERT: 2631abcd Temporary commit
REVERT: 4d783ae2 TINYML_ALGO-230
REVERT: 471a2c56 TINYML_ALGO-228, TINYML_ALGO-230
REVERT: b52afb15 TINYML_ALGO-215
REVERT: e6951987 Minor bug fixes
REVERT: b37c679b Pull request #8: Enhancements
REVERT: b9f4520d using np.sum instead of python inbuilt sum
REVERT: cfa29f2c increasing the speed 5x by using different approach for iteration
REVERT: 0a9c1b96 Commented out debug statements to speed up data loading significantly
REVERT: 2c36a1de Minor readme edit
REVERT: d66a283c Pull request #7: 2024/post training analysis
REVERT: eb912bf7 TINYML_ALGO-140: Data Augmentation feature
REVERT: dde19d79 Stray lines cleaned up
REVERT: 3b920413 TINYML_ALGO-147, TINYML_ALGO-226
REVERT: e7ebb480 Code Cleanup
REVERT: 450e4901 TINYML_ALGO-225
REVERT: 2dfc4bd3 Minor bug fixes
REVERT: f0d1d73b Minor code cleanup
REVERT: 44aa682f TINYML_ALGO-224 GPU run support and code cleanup.
REVERT: a23090d1 Still editing
REVERT: b36137a7 Changed test_onnx.py as well
REVERT: afffd072 Work in progress to add AUC ROC score. Yet to add to test_onnx.py
REVERT: 935520f8 Draft commit
REVERT: 426d0f26 Pull request #6: 2024/tushar concat TS Dataset
REVERT: 9f1a6918 removed original dataset loader and changed x_temp to x
REVERT: 8f39d429 using dont-train-just-feat-ext instead of test-bench, breakdown of generate_golden_vectors function
REVERT: 1c6bbda1 generalized output of basic transforms
REVERT: a94aa7d4 added test_bench for tinyml-firmware
REVERT: dc17581d correction in bin_size, addition of FE_RAW in preprocessing flags
REVERT: 779fefc9 checked difference btw basic_binning and dataloader binning, removed basic binning and bin_size
REVERT: 9583f0cc corrected the transform name in preprocessing_flags
REVERT: 288e59df Commit message
REVERT: 41f2bfde removed unused variable
REVERT: cc66eba7 code cleanup and comments
REVERT: d8a17c21 added offset and reframed variables
REVERT: 4e512800 adding offset and scaling for GenericTSDataset
REVERT: 6b397abb code cleanup
REVERT: 653d0018 incorporating new transforms
REVERT: 6d011e32 Merge branch 'main' into 2024/tushar_concat_TS_Dataset
REVERT: 0905e78b changed simple timeseries parameters
REVERT: 3f53f8a0 only values that are required will be present in feature extractions
REVERT: f6242eff Support for Haar and Hadamard Transforms. TINYML_ALGO-219, TINYML_ALGO-220
REVERT: 2585764a Clones only torchmodelopt directory instead of edgeai-modelopt repo
REVERT: 5241c4f3 Changed test_vectors.c to test_vector.c for the sake of 5.04 C2000Ware SDK having it wrongly
REVERT: 1c1f5bf0 TINYML_ALGO-214
REVERT: 2fb5df3a cleaning up code
REVERT: 26f7ba25 introduced a generic timeseries dataset as GenericTSDataset, including testing functionality for ArcFault, MotorFault
REVERT: 2e0631ff TINYML_ALGO-160: Additional generic models
REVERT: e8af9e6b TINYML_ALGO-213
REVERT: 81b6eed6 TINYML_ALGO-212
REVERT: 5cae1207 Renamed generic models appropriately
REVERT: 09a6c528 renaming of variables
REVERT: 4e8a4d9e added transformations Downsample and SimpleWindow of SimpleTSDataset
REVERT: 94182736 all cases of mf, af can work simultaneously with kwargs
REVERT: b1f5563e Updated tvm wheel to the final release
REVERT: 3f90c0fc few edge cases of arc fault left
REVERT: 9db70875 all 4 cases of motor fault are working
REVERT: 2cf79554 restructuring the feature extraction in a single function
REVERT: 1e329944 generic models changed. padding is now used.
REVERT: ff768ed4 restructuring the feature extraction in a single function
REVERT: 0545d61f Pull request #5: generic models changed.
REVERT: da21e31c generic models changed. padding is now used.
REVERT: 262ce115 modifying feature_extraction to accomodate variabe channels for future
REVERT: 88407b34 arcfault and motorfault dataset combined
REVERT: 98a05733 Converted the different fault detection in single class, compressed the shape changer of vax to data_packed using np
REVERT: 99167fce Updated with tvm rc5 package. Removed a few unused features in timeseries_dataset
REVERT: 3c43e5cc Minor updates
REVERT: cc841e61 TINYML_ALGO-200
REVERT: a176ac3f Preprocessing feature updates
REVERT: 7ffba99e Added AdaptiveAverage Pool Layer support
REVERT: 322d74ea Updated path to latest model optimization repo
REVERT: eaa8c747 Preparation for 0.9 release
REVERT: d62a616b TINYML_ALGO-197
REVERT: 36224c34 TINYML_ALGO-188: Version number on the log
REVERT: 3663b300 Added Average Pool support for tinynn.py. w.r.t: TINYML_ALGO-187
REVERT: 57358093 TINYML_ALGO-192: Integrate with ti_mcu_nnc 1.3.0rc4
REVERT: 5bcdf2d9 Code Clean up
REVERT: 6873065c Removed default optimizer and scheduler
REVERT: fbd05531 More removal of unused imports, variables and code cleanup
REVERT: cf8e8be1 Removed unused imports, code cleanup
REVERT: d837c68a Moved time.time() to a platform independent method
REVERT: 1448ed9a TINYML_ALGO-186, added support for dual_op
REVERT: 52a82fe2 Preparation for 0.9 release, TINYML_ALGO-186, added support for dual_op, TINYML_ALGO-187 : added new motor fault model
REVERT: a500ea96 Replaced '..' with os.path.dirname to not assume symlinks
REVERT: d8edd418 TINYML_ALGO-171: IP Protection for TI-developed arc-fault and motor-fault models on desktop
REVERT: cdf08b0d Added another exception
REVERT: 9057f5d3 TINYML_ALGO-179: Invalid datafiles in dataset result in training error
REVERT: a1f6d5a2 Change in preprocessing file generated and its content
REVERT: c743df34 Total elimination of forward slashes
REVERT: 27f8b61a TINYML_ALGO-176: Bug fix for training error during training data of incompatible dimensions
REVERT: 589d94d9 Added import of tinyml_proprietary models
REVERT: b23979cf Moved references under tinyml_tinyverse package to enable pyinstaller
REVERT: 86488573 Updated requirements with nnc-1.3.0rc2 package
REVERT: 18b9da84 Doesn't break flow if devc.o is not generated while compilation
REVERT: 89aee0a3 Changed workers to 0 for Windows and 16 for Linux
REVERT: 919aaf5e Platform dependent workers in train/test.py
REVERT: 5158fc4b Onnx version downgrade for Windows
REVERT: 64eef918 Downgraded torch from 2.4.0 to 2.3.0 because of fbgemm.dll being unavailable on Windows
REVERT: 7056e148 Used pep517 to remove a deprecated warning during pip
REVERT: 19e33c0c Moved back to Py3.10 because of onnx-sim, onnx-optimizer packages not supported on Windows for Py3.12
REVERT: f83d33c8 Typo in requirements
REVERT: 1196cfb7 Updated README
REVERT: dea66c36 v0.8 release prep
REVERT: 650863a7 Dynamic Preprocessing updates
REVERT: 8d6a308d 'org_sr' changed to 'sampling_rate'
REVERT: afc5a2f8 TINYML_ALGO-169, TINYML_ALGO-170 : Moved to Python3.12
REVERT: c227e060 Replaced forward slashes for cross OS compatibility
REVERT: fad18cdf Stray space in requirements file was causing packages to not be installed
REVERT: 366b9fca TINYML_ALGO-161- Changes for preprocessing handoff
REVERT: cc97891c TINYML_ALGO-158 : Ability to let the user choose to keep the libc files for compilation or not TINYML_ALGO-159	: Integrate Modelmaker with TI MCU NNC 1.3.0
REVERT: 347ef83d Added FFT transform in MotorFaultDataset
REVERT: b30c3f8d TINYML_ALGO-154: BYOM for testing an external model
REVERT: 10ca2f40 Working code of BYOM for testing. (Not without training)
REVERT: a2104124 Addressing EDGEST-954
REVERT: 02e67366 TINYML_ALGO-148 . Progress bar added for datafile loading.
REVERT: f878fd8b TINYML_ALGO-146 . Graceful handling of incompatible files in the dataset
REVERT: ca53a101 Updated confusion matrix display format to be a lot more intuitive
REVERT: dffe80b4 Version update from 0.6 to 0.7. Logger update in train.py
REVERT: e8103a4f Best Epoch metrics are printed at the end of each train run.
REVERT: 5da38536 Added ArcFaultDataset, MotorFaultDataset. TINYML_ALGO-136
REVERT: 9b97c914 Generates a global.h header file in golden_test_vectors directory for easier verification in C code
REVERT: 35a02224 TINYML_ALGO-131, TINYML_ALGO-141: Ability to verify a test set either separately/alongwith the dataset
REVERT: dd9a371d Saving last frame of raw data for motor bearing fault as well
REVERT: 864aa798 Changed TinyML to Tiny ML
REVERT: 2b156b2c Bug Fix for TINYML_ALGO-75 in motor fault section. All frames are kept in raw data
REVERT: 85dda4a7 Bug Fix for TINYML_ALGO-75 in arc fault section. Now only last frame is kept in raw data
REVERT: d9f91907 Pull request #3: TINYML_ALGO-75 : Added raw golden vectors
REVERT: 0a88d500 TINYML_ALGO-75 : Added raw golden vectors
REVERT: e2f09ec1 Preparation for v0.6 release
REVERT: 96afbe59 Minor update in generic_models.py
REVERT: 3f18a26c Golden Test Vectors: Raw adc data was not capturing correctly when num_frame_concat was >1
REVERT: a16396c7 export_model avoid warning message
REVERT: 8b3fcae6 export_model  - avoid warning - changed default opset_version to 17
REVERT: 27edfb23 np.savetxt uses {} instead of []
REVERT: 2f297de5 .npy golden test vectors aren't generated anymore
REVERT: 7480cfb1 Updated timeseries_dataset.py with raw adc test vectors. Updated train.py with golden text vectors now being .txt instead of .npy
REVERT: f3fc7d53 Code aesthetics cleanup
REVERT: f9912949 Updated NNC with Software DL link
REVERT: 42216096 Minor logger text change
REVERT: acebf97b class labels are in sorted order. Changed in timeseries_dataset.py. TINYML_ALGO-97
REVERT: 17a507e9 Version number update v0.2 to "0.5.0"
REVERT: 75f2eb70 Minor change in using kwargs.get() in timeseries_dataset.py
REVERT: fbfe2a4f LICENSE updated
REVERT: fe1605e7 LICENSE updated
REVERT: 20f5fd97 generic models - bug fixed and updated DictPlus to same layer name repeating
REVERT: b12b5514 generic models updated - avoiding 1x1 convolution
REVERT: 5ccd9c23 generic models updated (no padding for conv/maxpool)
REVERT: 4328ce4b bugfix in model name
REVERT: e5bf3be4 generic model definitions updated
REVERT: 5ec56386 easy dict update using DictPuls
REVERT: fdaf1c77 Minor bug fixes
REVERT: 893b8c2f Feature Addition: Enabled IP protection using model_spec
REVERT: cea17b9f Updated for Thomas's preprocessing modifications. Infer ch,wl,hl from stacking parameter addition
REVERT: 3a0ba4d2 Updated for Thomas's preprocessing modifications. Infer ch,wl,hl from stacking parameter addition
REVERT: 43d49fa2 TINYML_ALGO-81 -feature_size_per_frame is taken as input instead of feature_size. Changed CNN_AF_3L_LARGE to CNN_AF_3L_1400. Added a new motor fault kilby model
REVERT: 036e6c1d generic_model_spec - can be a dict or list, write out model to yaml
REVERT: f26335da changes and fixes in generic_model_spec
REVERT: d25c5573 TINYML_ALGO-78 -> Kilby models are neither packaged nor shown in logs
REVERT: 5fff5e29 Changed TINIE to TINPU, tinie to ti_npu. Updated TVM wheel to final 1.2.0 tag release in requirements
REVERT: aa4983c1 daatset.samples_in_sequence has been replaced with input_features (dataset.X.shape[2])
REVERT: 3c281a2d Temporary Fix for a bug. args.variables gets changed based on dataset.X.shape[1] to accommodate concatenation of motor fault data
REVERT: cac3c8da Mid way progress in integrating motor fault. Arc fault code restabilised
REVERT: 7f364e58 1. Added changes to enable motor fault pre-processing
REVERT: ec7abd3b Pull request #2: added model with spec
REVERT: 61a777f5 generic models are working now
REVERT: d69351a3 generic_model_spec separated out into a different file
REVERT: b77719b7 Added generation of golden vectors for model verification. By default it is generated
REVERT: 9670333d changed create_ functions to init_ in ModelSpec class
REVERT: a9b662be layer types restricted to what is in tinynn
REVERT: cfd5bede layer_types support added to create_model_spec
REVERT: ce09e456 added model with spec
REVERT: e13f294f Model summary shown during training. Added support for CNN_TS_GEN_BASE_13K in generic models. Moved kilby models to a separate kilby_models.py file. Cleaner reporting of confusion matrix
REVERT: 11c6f2db Minor logging bug
REVERT: c7ac9610 Training saves best validation accuracy checkpoint instead of all checkpoints/last checkpoint. Prints dataset label map. Confusion matrix description is much more cleaner. TINYML_ALGO-73 TINYML_ALGO-74
REVERT: 348bd063 app.c will not be geenrated anymore until proper code is developed. Changed TinyML to Tiny ML to avoid copyright issues. Changed defaults of CNN_AF_3L (num_channel_l1=32->12, num_channel=16->12). x_temp_raw_out is also saved in feat_ext_data
REVERT: 1261db3b TINYML_ALGO-72 bug fix
REVERT: f02d468a Updated requirements with nnc rc3
REVERT: 9ba3ba0d Added models: ArcFault_cnn_largest_t(CNN_AF_3L_LARGE), ArcFault_cnn_200(CNN_AF_3L_200), ArcFault_cnn_300(CNN_AF_3L_300), ArcFault_cnn_700(CNN_AF_3L_700). Updated documentation accordingly
REVERT: 26408283 timeseries_dataset.py had been hard coded to support arc fault labels. Removed this and made it generalised
REVERT: cacae58d Replaced dc-remove with min-fft-bin. Added fft-bin-size in train.py. Corresponding changes in timeseries_dataset. Additional feature support to remove dataset's column which has 'time' mentioned in it
REVERT: 2d40b183 Updated with TVM v1.2
REVERT: 6fadd91f Updated with the latest TVM wheel v1.2
REVERT: 14c790f5 version updated
REVERT: 97470336 Bug fix for class imbalance when dataset.Y is a list
REVERT: 607ab40c app.c in compilation is written inside artifacts dir. train.py/load_data() has a separate utility for loading just test data. Better way to print confusion matrix
REVERT: eabcee80 Store Feature Extracted Data (+ Store only without training), Class Imbalance Wwights included for training. Resolved bug causing default optimise to be adam instead of sgd. Multiclass confusion matrix is now reporting normalized values
REVERT: 18c45405 Automate deletion of intermittent .bin .txt  Tinie files
REVERT: cb5ceec4 Updated with the latest TVM Compilation API
REVERT: b2b79b37 Changes requested by Lei to preprocessing
REVERT: 4b9726ab Version update for torcheval in requirements
REVERT: 6bcfe0f0 Added basic Jittering code. Not tested
REVERT: 33b0bbc3 Added confusion matrix and f1 score metrics
REVERT: 46232f96 requirements updated
REVERT: 5cb867da removed dependencies that are not needed
REVERT: 9068ca2a torchscript model export added
REVERT: f30eaf5b Removed accelerator mode argument, code cleanup
REVERT: 74da451e Updated installation of gpu version of tinyverse
REVERT: 8e8ea6b9 Support for setup_gpu
REVERT: 285889da Compilation options updated to latest version of tvm
REVERT: c569cfe7 Added resampling factor support
REVERT: f8ffd4c3 Logger name changes for Float and Quant Training
REVERT: 9a64a121 Appends float train and quant logs together
REVERT: 0ea150f5 setup file with cuda support
REVERT: 5e8b55db model export - changes to ensure that batch size is 1 in onnx model
REVERT: 8cd1583d LICENSE file added
REVERT: 859cf803 Added input_features to be passed from train.py to model. Bug fixes in Motor Fault model
REVERT: e2a9dcb6 fix for small batch size
REVERT: f8e2bc73 dataset generalization fix
REVERT: 7f2e77df quant measure_stats is supported only by some quant modes
REVERT: e6d17ede quantization_error_logging - convert error stats simplification
REVERT: 1545cc84 Generalized into single dataset loader
REVERT: 77cb8644 Figured a bug introduced during export model which caused the batch size to be present in the model
REVERT: 7882b359 Updated logger to allow printing messages outside the process
REVERT: f5e4a4f4 quantization-error-logging option added
REVERT: d021caca use actual input for model export
REVERT: 087e0692 removed folders that are not needed now, updated copyright headers
REVERT: 0b2201ed Commented out unnecessary printing of Dataset Loaders
REVERT: d5e4b164 with_input_batchnorm option to enable same model for TINIE v/s non TINIE devices
REVERT: 0e470533 Added with_input_batchnorm as an argument to models
REVERT: 811fb567 with_input_batchnorm option added for models
REVERT: 92bddd3f model-quant-format options is not required, quantization option is used
REVERT: 8d5b3a40 quantization choices uodated in training script
REVERT: f4db4e33 Pull request #1: updates for TINIE compatible QAT
REVERT: 28e329f4 TinyMLModelQuantFormat name change
REVERT: 242e3e2b qat interface changes
REVERT: ab851b23 model export cleanup
REVERT: 2ed100fe model export using tinyml-modeloptimization
REVERT: 6081fb6a updates for TINIE compatible QAT
REVERT: 5a5423c1 Feature Extraction Preset Addition, Model naming conventions updated
REVERT: 32c9d2e9 compilation.py added arg: tinie_mode
REVERT: f04b0f26 Added kilby models for Arc Fault and Motor Fault detection. Renamed models as well
REVERT: 8dadef3a Feature Update: Added Kilby Models for Arc Fault Detection, Added ability to choose data loaders, Added argumnets for feature extraction
REVERT: 5bb89b62 Feature Update: Inter compatibility of feature extractors with Models. Models can also be given a config to change the parameters of the model without touching the definitions - model-config
REVERT: 834d602a Better handoff between preprocessings and transforms. Updated a parameter in tvm_input_config.py to handle latest tvm. Support for output_ndim in audio_dataset.py . There is an export problem for post qat matchboxnet.py .
REVERT: b65e23c2 Named version as 0.1
REVERT: 4b134738 Bug fix: setup_cpu.sh installs tinyverse package
REVERT: b28352a5 TVM build version updated to be latest always. (480-> lastSuccessfulBuild)
REVERT: 1ab6960f TVM build version updated
REVERT: 33e6ca8c Ease of use to setup.
REVERT: 48b0e6e3 Ease of use to setup.
REVERT: 14e49d28 Ease of use to setup.
REVERT: 54802c6f Git ignorable files removed
REVERT: c83e0d35 Backs up QDQ model during QAT
REVERT: 586234ae Feature update: Conversion of QDQ model to INT8 model
REVERT: 98c3889c Feature update for QAT enabled training and model compilation
REVERT: 74cb253c Feature update for QAT enabled training and model compilation
REVERT: 6f62c199 Updated README.md
REVERT: 9a343799 Moved audio transforms to a separate transforms directory to maintain consistency
REVERT: 8b13815c Updated with README and minor bugs in audio models
REVERT: 1ea5da67 Added Haar Wavelet Transform
REVERT: 88e8b8d6 Tested STFT and MFCC to be working. Added few more combinations of TCResnet and MatchboxNet
REVERT: 67df8421 Enabled dataset loading for audio data
REVERT: afc7aa49 Enabled dataset loading for timeseries data
REVERT: 973018e5 Added MatchboxNet
REVERT: b0e50651 Updated with compilation support for models with multi input/multi output. Also minor debugs in train.py for audio and timeseries.
REVERT: ca8b2916 Updated with compilation support for C28 + Soft TINIE
REVERT: 074e0556 Added missing file that contains models added
REVERT: 349a76ce Tested Multivariate Timeseries Classification
REVERT: bd198a7a Feature Added: Added STFT, MFCC Preprocessing and Temporal Convolution Resnet Model
REVERT: 995fe41b Feature Added: Audio Classification
REVERT: f1b31fe8 Updated compilation.py for minor argparse bugs
REVERT: b2616547 Updated compilation script support for cmsis-nn mode
REVERT: 372d07f1 Updated code for multivariate time series data support
REVERT: ec2bd45d Train.py works even if transforms are not chosen
REVERT: 423e720f Updated train.py and compilation.py scripts with Loggers
REVERT: 9e1e85ed Updated app.c for better UX
REVERT: a808c34f First cut version of TinyVerse that can run arc detection
REVERT: 5b3297dc Initial Commit
REVERT: 4d52a124 Initial Commit
REVERT: 0dd276fa Initial Commit

git-subtree-dir: tinyml-tinyverse
git-subtree-split: 23a2fa30f5e5cecb201045a3a2a4dca365f7465d
Adithya-Thonse added a commit that referenced this pull request Aug 14, 2026
4562d5a0 Version agnostic install
REVERT: 3ec48d18 Pull request #76: TINYML_ALGO-741: Fixed IndexError for models with unused pre-quantization parameters
REVERT: eb12c6f8 TINYML_ALGO-741: Fixed IndexError for models with unused pre-quantization parameters
REVERT: 9664c179 TINYML_ALGO-724
REVERT: 7bed5560 Pull request #70: adding downgrade_32bit_layer function in auto_quantization.py
REVERT: 63ea241d Pull request #71: TINYML_ALGO-247 Ternary Weight 8bit Activation QAT Support
REVERT: 4d5b48c4 TINYML_ALGO-247 Ternary Weight 8bit Activation QAT Support
REVERT: eefd4388 removing -> symbol
REVERT: 044df3ef adding downgrade_32bit_layer function in auto_quantization.py
REVERT: 2ef09d9f Added seed in examples
REVERT: a7001134 Pull request #69: Improving structure of quantization
REVERT: 8e7a8e57 Improving structure of quantization
REVERT: ef2909cc Pull request #65: TINYML_ALGO-586: implementing HAWQ based mixed quantization in modelmaker flow for regression
REVERT: 79008c03 removing unused logger in qconfig_types.py
REVERT: b5411840 making a new auto_quantization.py file, cleaning qconfig_types.py file
REVERT: f63483b6 changing autoquant variable nameds and using kwargs
REVERT: 99d106a6 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into 2025/abhijeet
REVERT: a664ad68 adding forecasting flow for auto quantization
REVERT: 5f3588b0 adding mixed precision flow for forecasting
REVERT: 217403bf TINYML_ALGO-706
REVERT: 71020fd1 TINYML_ALGO-705
REVERT: ef666b19 TINYML_ALGO-706
REVERT: b14cedac Automatic mixed precision support for classification, regression, anomaly detection using partial_quantization=True
REVERT: 686581f6 Pull request #68: TINYML_ALGO-689 ModelOptimization: Added LSQ observer for both weights and activation
REVERT: bc834949 TINYML_ALGO-689 ModelOptimization: Added LSQ observer for both weights and activation
REVERT: 5cb175e1 Pull request #67: Coding style improvements using Claude
REVERT: 26e1993c Coding style improvements using Claude
REVERT: 4e677660 Pull request #66: TINYML_ALGO-673 ModelOptimization: Support for model (MLP) conversion with 2D input
REVERT: a265089c TINYML_ALGO-673 ModelOptimization: Support for model (MLP) conversion with 2D input
REVERT: b4a285c1 TINYML_ALGO-663
REVERT: 052f0ffb TINYML_ALGO-586: implementing HAWQ based mixed quantization in modelmaker flow for regression
REVERT: 98705808 TINYML_ALGO-531
REVERT: bc10f9d0 updated wrong doc
REVERT: 06b9a01c Pull request #64: MSPML-130(https://jira.itg.ti.com/browse/MSPML-130)
REVERT: 0d1aaa61 no message
REVERT: 43f0acff MSPML-130(https://jira.itg.ti.com/browse/MSPML-130) ONNX export fails with "view size not compatible with input tensor's size and stride" error while running tinyml-modeloptimization MNIST example.
REVERT: e710f52c Typos fixed
REVERT: 23f40a61 Pull request #63: TINYML_ALGO-513 : adding partial quantization
REVERT: 6dcb1f6a adding partial_quantization variable, removing .get for consistency
REVERT: 40b35d9a adding variable partial_quantization in the flow and relevant changes
REVERT: 372127e0 regression flow changing call module check for Flatten
REVERT: 0facb988 TINYML_ALGO-513 : adding partial quantization for regression flow
REVERT: 8fb67861 TINYML_ALGO-513 : adding partial quantization for regression flow
REVERT: cd5d0ad7 adding partial quantization for regression flow
REVERT: c609c450 Pull request #62: 2025/tushar
REVERT: 7ba5f67d TINYML_ALGO-549 Modeloptimization: Migrate legacy code of surgery to updated quant_helper_func.py
REVERT: 9dd8260e Improvements
REVERT: 4793099d Readme improvements
REVERT: 40149c58 docstring python standard improvements from gpt
REVERT: 7bf9dc37 Bug Fix for TINYML_ALGO-531
REVERT: 870c6199 TINYML_ALGO-531
REVERT: a2213a40 TINYML_ALGO-530
REVERT: 5872d872 TINYML_ALGO-530
REVERT: 7f3e7f00 TINYML_ALGO-530
REVERT: cd115f31 TINYML_ALGO-520
REVERT: 54461b2d Pull request #61: 2025/tushar
REVERT: 96cdb6f2 Adaptive Avg Pool 2D correction
REVERT: e74ee0b5 TINYML_ALGO-408 ModelOptimization: AdaptiveAvgPool2D Non-Global doesn't let Linear layer to offload to NPU
REVERT: d5cb5752 Pull request #60: TINYML_ALGO-512: Support for RNN Transpose
REVERT: 91a577dd Support for RNN Transpose
REVERT: 86831baa Pull request #59: Mnistlenet5 fix
REVERT: 86c52c0a no message
REVERT: 515d2820 various fixes
REVERT: d5955949 minor version update
REVERT: 72ff13fa Readme updates
REVERT: d7c2ea86 Pull request #58: Mnist Lenet5 example
REVERT: 916a7bd4 no message
REVERT: 0f12b4fb no message
REVERT: 0fa7ee00 Merge branch 'mnistLenet' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into mnistLenet5
REVERT: 2007da27 Correction
REVERT: ba43af77 Correction in channels of experimental qdq
REVERT: 953c0168 Pull request #57: 2025/tushar
REVERT: dbf395de minor typo
REVERT: 0d4a642e Release prep for v1.2
REVERT: 576e76fa fixed
REVERT: cbfe643c fixed
REVERT: 414ba05c fixes for mnist( added necessary package requirements in requirements.txt and added quant_mnist.onnx for reference(w8a8)
REVERT: a4cb178b Using Mul, Add, Mul instead of Add, Mul, Mul at start of model
REVERT: ac893469 Using integer values for Add Mul Mul instead of float
REVERT: 11bbb166 TINYML_ALGO-274 Compare QDQ onnx model and TINPU converted model
REVERT: 17b119b6 Merge branch 'main-dev'
REVERT: 5846c8f7 Updated readme
REVERT: 98c852d1 Pull request #55: 2025 tushar
REVERT: 487b1af8 Readme Correction
REVERT: 455ca4ab Readme Correction
REVERT: 45ee6dbe Commit
REVERT: 40817059 Changed submodules to pip install from specific version instead of main
REVERT: d4512630 Changed submodules to pip install from specific version instead of main
REVERT: 56e1466d Pull request #52: Main dev
REVERT: 870e0d35 TINYML_ALGO-364: Updated readme with setup instructions to make it cross platform
REVERT: d63cc9c8 Removed a redundant logger comment
REVERT: 0f1eed26 Better logger message for NAS not finding a GPU
REVERT: f59bf1ac Pull request #51: TINYML_ALGO-321 NAS for Model Selection
REVERT: 001e40bd Logger updates
REVERT: 76be47f7 Pull request #50: TINYML_ALGO-321 NAS for Model Selection
REVERT: 0bca904f TINYML_ALGO-321 NAS for Model Selection
REVERT: 1c45ada2 TINYML_ALGO-385, TINYML_ALGO-386 - Version upgrade to 1.1 & C2000Ware 6.0
REVERT: 4f7a899a Pull request #48: 2025/tushar
REVERT: da711187 TINYML_ALGO-381: Moving away from requirements.txt
REVERT: 61949238 ModelOptimization: TINIE supports float bias and 32 bit scale for the input batch norm
REVERT: d3a6d490 ModelOptimization: Correct and verify calculations of qbn, qconv_relu, qlinear
REVERT: a09a58ec Pull request #46: 2025/soum ternary
REVERT: 4cf82052 Merge branch 'main-dev' into 2025/soum_ternary
REVERT: f5817718 Pull request #47: 2025/tushar
REVERT: c0d43350 TINYML_ALGO-296 ModelOptimization: Support for Add Block
REVERT: 3475b66b Merge branch 'main-dev' into 2025/soum_ternary
REVERT: c9bd7da5 Ternary Quantization issues fix
REVERT: df8e6bf1 TINYML_ALGO-377 ModelOptimization: Support for RNN permute
REVERT: de0a1aeb bug fixes
REVERT: 3c80ba7c bug fixes
REVERT: 88494a06 added support for activation soft quantization
REVERT: 26a90e44 fixed activation qconfig error message
REVERT: 4172cbb9 fixed activation soft quant, current no soft_quant support for activation
REVERT: fc47164e fixed activation soft quant, cuurent no soft_quant support for activation
REVERT: 6ae24a42 bug fixes and support for soft tanh quantization
REVERT: 8c80c969 bug fixes and support for soft tanh quantization
REVERT: 079cda1a more epochs help ternary quantization
REVERT: ae68af5b soft fake quantize implementation
REVERT: 903a6754 qconfig fixes for TINPU
REVERT: dd5a3663 Pull request #44: 2025/tushar
REVERT: a6e2c538 TINYML_ALGO-375 ModelOptimization: Support BatchNorm2D export for GENERIC quantization
REVERT: 845a7dcf TINYML_ALGO-369 Correction for qbn, qconv, qlinear replacements
REVERT: bf25309f added mnist example with Lenet5 model
REVERT: 3f3ef909 TINYML_ALGO-290: Updated toml with python packages
REVERT: ab83c3ac TINYML_ALGO-290: Python package version updated
REVERT: 94519e18 Pull request #42: DevTushar
REVERT: dfa48735 Merge branch 'devTushar' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into devTushar
REVERT: 8a0b134b zero point added in AdaptiveAvgPool2D
REVERT: e34d1834 TINYML_ALGO-355 TracerWarnings removed
REVERT: 225f0dbd TINYML_ALGO-296: Add Block correction, Adaptive Average Pool Clipping, Flatten QDQ correction
REVERT: e8eeabc9 TINYML_ALGO-296: Add Block correction, Adaptive Average Pool Clipping, Flatten QDQ correction
REVERT: 8b031547 Updated documentation
REVERT: 432424a6 Fixed missing packages
REVERT: d49d9e97 zero point added in AdaptiveAvgPool2D
REVERT: 2c6db9a7 TINYML_ALGO-355 TracerWarnings removed
REVERT: 8ac7d324 Merge branch 'devTushar' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into devTushar
REVERT: 032815cd TINYML_ALGO-296: Add Block correction, Adaptive Average Pool Clipping, Flatten QDQ correction
REVERT: 4cad3bfb TINYML_ALGO-296: Add Block correction, Adaptive Average Pool Clipping, Flatten QDQ correction
REVERT: 01170bd3 Pull request #39: TINYML_ALGO-346: Throw error in quantization compute offset scale shift instead of clipping weights
REVERT: c81f1859 TINYML_ALGO-346: Throw error in quantization compute offset scale shift instead of clipping weights
REVERT: 0886a8dc TINYML_ALGO-340: Missing packages for standalone installation
REVERT: 159a9acd Pull request #38: TINYML_ALGO-336, TINYML_ALGO-296
REVERT: e19baf5c disabled for now
REVERT: 5ade0d82 TINYML_ALGO-336: qconfig_type for Generic shouldn't have power2_scale as True TINYML_ALGO-296: Different range of residual inputs
REVERT: 04e213db Pull request #37: 2025/manu kws
REVERT: 5055425e Merge branch '2025/manu_kws' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into 2025/manu_kws
REVERT: 9e0a7948 output_dequantize passed through Class initializer
REVERT: 04fdf332 Merge branch '2025/manu_kws' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into 2025/manu_kws
REVERT: 7cf5b353 output_dequantize passed through Class initializer
REVERT: 07bae15b Pull request #36: 2025/manu kws
REVERT: da48325f added requirement
REVERT: 43ecb8d5 error handling when qconfig dict is none
REVERT: 6cfc7d2d readme updated
REVERT: d6413049 Merge branch '2025/manu_kws' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into 2025/manu_kws
REVERT: f3f40ecc adding readme for Audio keyword spotting
REVERT: 3702cf13 TINYML_ALGO-314
REVERT: bfcb1339 FMNIST, torchmodelopt readme updated
REVERT: f595289a power2_scale=True for all in mixed_precision
REVERT: 3fff0aaa interfacing mixed precision
REVERT: ff4e0d4f correction
REVERT: e1d88114 restructuring for mixed precision
REVERT: f760e48b added mixed precision
REVERT: 6a673af6 loading checkpoint from pb2pth to DSCNN
REVERT: 2540dd60 Correction in matmul
REVERT: 1a798cac Draft commit, working on correct scale in Matmul
REVERT: 0fcf653f added bias calibration functionality from 2025/manu_advanced_ptq
REVERT: f9af54f6 Pull request #35: 2025/manu kws
REVERT: 09cf9563 the branch works for the previous supported models
REVERT: 05a5de61 fixes after merging kws to main
REVERT: 9d5dca17 Merge branch '2025/manu_kws'
REVERT: 7163a6b5 keyword spotting cleanup - renamed, removed binraries, corected name of requirements file
REVERT: be367119 Pull request #29: 2025/tushar kws
REVERT: d60c251a revert quant_base changes
REVERT: 28442d6e TINYML_ALGO-296 functions to modify observers of inputs
REVERT: eb503ab9 added necessary requirements
REVERT: 3abd62da Added seed function and now you can see the accuracy print for a 1000 random samples aswell
REVERT: 25d4df75 adding fixed range to modules before residual operators
REVERT: 0ea91be4 TINYML_ALGO-292 Added pattern replacement for matmul layer to use values from initializer
REVERT: 0a6a9bdf exported onnx model accuracy 0.9335
REVERT: 7a9f864d exportable kws model, exported accuracy not correct
REVERT: 7e8d6970 removed torch installation
REVERT: 5ebfbb6e fixed typo
REVERT: 9835acf0 added final requirements file for KWS
REVERT: 7c939b5d Adding the modified pb2pthmodel which has the matmul and add layer combined into one layer layer. Adding this for testing
REVERT: 323f1ad3 Made changes to data pre-processing part to ensure that the test set matches the exact test test used by MlPerf for inference.
REVERT: 574cc6e7 fixing matmul draft commit
REVERT: 3e2cef2f Removed unncessary print statements and put correct path join statements
REVERT: d130a14e Merge branch 'dev_Laavanaya_mspm0' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into dev_Laavanaya_mspm0
REVERT: 195e234a completing merge
REVERT: 8248552c added requirements for KWS and modfied main.py to resolve some errors
REVERT: 02bcac42 Draft Commit
REVERT: 06577c23 Merge branch 'dev_Laavanaya_mspm0' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into dev_Laavanaya_mspm0
REVERT: d533429c Pull request #28: windows paths changed to os.path.join
REVERT: 709e59d8 windows paths changed to os.path.join
REVERT: dd76b8ec Merge branch 'main' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into dev_Laavanaya_mspm0
REVERT: 93570273 added the calibration indices file and renamed the cal_indices file in main.py
REVERT: 0c2b5c54 no message
REVERT: b25283db calibration indices file as given by mlperf-added
REVERT: 3abe351b renamed the folder to keyword_spotting_application
REVERT: c819af92 Removed unnecessary comment and print lines
REVERT: 6ac8dfec The OG model refers to the fp32 DSCNN model trained for the open category in pytorch that has learning rate=0.00001, weight decay=1e-4, scheduler=0.00001/LR, epochs=36, loss function=CrossEntropyLoss, optimizer=adam. This model is equivalent in number of parameters and layers with the DSCNN given by MlPerf-Tiny for KWS.
REVERT: 727db40e Condensed all the changes from data download to prepare to train and everything else in one main.py. Merge branch 'main' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into dev_Laavanaya_mspm0
REVERT: c93f55bb Pull request #26: 2025/manu quant
REVERT: afd560fa TINYML_ALGO-261 addition of rename nodes flag
REVERT: 50aa812d power2_scale can be False for 4bits and 2bits
REVERT: 87d97aa9 power2_scale for 4bits and 2bits quant
REVERT: 5cec847c TINYML_ALGO-273 Scale bit width according to power2_scale
REVERT: 97881cf4 number of epochs for QAT or PTQ need to be increased only in the case of low precision
REVERT: 8e5f56ea fix for power2_scale - do not adjust in the case of symmetric
REVERT: f1f196ae quant scale for unsigned activatio range can be improved to use the full range
REVERT: 1bb8ba94 Removing stray occurrence of edgeai_torchmodelopt
REVERT: b416a70b Merge branch 'main' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into dev_Laavanaya_mspm0
REVERT: 78502dc8 Merge branch 'main' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into dev_Laavanaya_mspm0
REVERT: 7089ddcd Removing stray occurrence of edgeai_torchmodelopt
REVERT: e9f753bf Pull request #25: 2025/tushar ternary
REVERT: 290bdec0 correction
REVERT: a2ab8681 naming convention for original nodes
REVERT: 4c960776 correction
REVERT: eb9ea545 TINYML_ALGO-261 Node naming
REVERT: 79b74c1b renaming of nodes
REVERT: 78625974 support added for KWS-dscnn
REVERT: b1877a3a Pull request #22: disable freezing of bn and observers at the middle of training
REVERT: b6f0d4b1 disable freezing of bn and observers at the middle of training
REVERT: 3e6c80da Pull request #21: handling quant nodes present in branch or at depth TINYML_ALGO-249
REVERT: 901ae74e handling quant nodes present in branch or at depth TINYML_ALGO-249
REVERT: 81e6b694 Pull request #20: 2025/tushar ternary
REVERT: 21725b78 Merge branch '2025/tushar_ternary' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modeloptimization into 2025/tushar_ternary
REVERT: c5bc9801 removing passthrough module as it is not being used
REVERT: 29b9dcfc TINYML_ALGO-249 First quant node handling and cleanup
REVERT: ec1af740 restructuring
REVERT: 7118a285 lets work on ternary quant
REVERT: 024409f1 PTQ and QAT support in toolchain, Ternary and 4 bit support in Toolchain: TINYML_ALGO-253, TINYML_ALGO-254, TINYML_ALGO-255, TINYML_ALGO-256, TINYML_ALGO-257
REVERT: ad99d3c4 removing passthrough module as it is not being used
REVERT: 19668568 TINYML_ALGO-249 First quant node handling and cleanup
REVERT: 8e19f9d2 restructuring
REVERT: fbe878cd lets work on ternary quant
REVERT: e829618f Pull request #19: trying to support 4bit quantization for activations as well
REVERT: 56dfe697 convert - from_q_qbn - for BN represented as offset, scale and shift, the scale can be an 8bit quantity
REVERT: c8808ba9 num_bits_scale is set according to bitwidth_wieghts (1 for 8bits, 8 for 4bits and less)
REVERT: 660a5795 fix for various bitwidths in quant
REVERT: cf8044de adjusting quant_epochs and learning rate based on bitwidth
REVERT: 90b2248a added dynamic bitwidth
REVERT: 54299295 trying to support 4bit quantization for activations as well
REVERT: 83d96da4 Minor fixes to work on PC with GPU
REVERT: 267fb2be Minor bug fix
REVERT: 034cf785 Minor bug fix
REVERT: 4f78f396 Pull request #18: fixes for generic quantization
REVERT: 274eb872 fix for onnx model input name
REVERT: 20eacb62 fixes for generic quantization
REVERT: 639d15cb Pull request #17: completing the PTQ example with calibrate function - also disabling the backward for PTQ.
REVERT: 5348f6cc Pull request #16: TINYML_ALGO-232 TINYML_ALGO-236 TINYML_ALGO-238
REVERT: dae153ab comments updated in PTQ related calibration functions
REVERT: a4739edf moving the ptq implementation to base class under (not is_qat) flag. derived classes just sets the appropriate flag.
REVERT: aa3c7ca6 overriding train() to freeze BN in PTQ
REVERT: 30075795 completing the PTQ example with calibrate function - also disabling the backward for PTQ.
REVERT: 66fec192 TINYML_ALGO-236 Fix in rebased branch
REVERT: 2f5eee8e Pull request #15: 2025/manu quantization method ptq
REVERT: 93062fb7 motor_fault classification script renamed - it supports both qat and ptq
REVERT: fea14ff3 quantization_method PTQ added
REVERT: ae7cd2a6 Pull request #13: 4bit weight QAT example is added, accuracy verified - example is in motorfalut script - TINYML_ALGO-240
REVERT: 0c390e80 4bit weight QAT example is added, accuracy verified - example is in motorfalut script - TINYML_ALGO-240
REVERT: e6d4a353 Pull request #12: 2025/manu quant cleanup
REVERT: 7e35ef37 PTQ and QAT classes are separated out for clarity sake.
REVERT: e2c64002 bugfix in convert - QAT is now working correctly
REVERT: ca561523 added help documentation for the QAT wrapper, including the format of qconfig_type
REVERT: ea2527db more flexibilty in specifying qconfig_type
REVERT: 1c7323a9 aligning the base quant module with that in edgeai-modeloptimization
REVERT: 1e25cc4b made a surgery module and aligned it to that in edgeai-modeloptimization - this is used in quant convert for tinpu
REVERT: 08cac7cb completing the observer changes
REVERT: 7d4e3792 duplicate file for motor fault example is removed, and uses the quantization wrapper defined in this repository
REVERT: d14a9bca dependency on edgeai-modeloptimization is removed
REVERT: a2f02eac simple quantization wrapper added inside this repository
REVERT: 33647b7a Preparation for v1.0 release
REVERT: 9b425d11 TINYML_ALGO-230
REVERT: b9612f3a Pull request #11: 2024/tushar mfd example
REVERT: 9ca43c69 using users instead of next nodes
REVERT: 2ba5f9d2 breakdown of from placeholder function and generalization of from_q_flatten to from_q_module
REVERT: e6f91f1f corrected from_dq_with_dq
REVERT: 29a16b35 added description for functions
REVERT: 989294e8 comments and ordering functions position
REVERT: 49d39a53 removing anomaly detection debug from train function
REVERT: 8800197d added support for flatten layer at top, added function for quant parameters propagation and retrieval, cleanup
REVERT: 4b8d8a49 Merge branch 'main' into 2024/tushar_mfd_example
REVERT: 75042449 added simple qat with variable qconfig mapping
REVERT: 404c4a79 added support for flatten layer at top, added function for quant params propagation and retrieval, cleanup
REVERT: ddac4fb5 changed flatten after input handling
REVERT: 1de0124c understanding backend config
REVERT: f3b0d627 working quantization for flatten layer at top
REVERT: cbf0667a support for flatten layer at top
REVERT: 5120fcfb handling dequantization within from_dq_flatten
REVERT: ea9a3ff7 added types to function args and return values
REVERT: 65cfca20 a bit of cleanup
REVERT: 3a85ae82 standalone replacement functions and independent of replacer.py from surgery
REVERT: 58c3da83 Pull request #10: TI-NPU: Fix issue related to batch flatten in TI-NPU QAT conversion JIRA: CODEGEN-13101
REVERT: 851d0a0e TI-NPU: Fix issue related to batch flatten in TI-NPU QAT conversion JIRA: CODEGEN-13101
REVERT: 8607f2ff scales of nodes
REVERT: 2ed1caa9 store the scale factors of modules
REVERT: f32bd956 batch normalization out of memory error
REVERT: c2610a46 simple qat with simple qconfig
REVERT: e80b3565 Pull request #6: added documentation for torchmodelopt
REVERT: 3c356e09 added documentation for torchmodelopt
REVERT: d75db7de Clones only torchmodelopt directory instead of edgeai-modelopt repo
REVERT: 08cd771d Pull request #5: added comments and function description
REVERT: 1a7c48ff added categories names
REVERT: d5d9ea92 changes in comments
REVERT: 25fea102 added comments and function description
REVERT: de274ded Pull request #4: motor fault classification example - reduced model size from 14KB to 4KB
REVERT: 3989c91a add one more layer to make the loss go down further - model size is around 7KB
REVERT: fbfccee2 motor fault classification example - reduced model size from 14KB to 4KB
REVERT: e6cfc6db Reverted adaptive average pool 2d to use passthrough instead of mods. Which means it will always run on CPU
REVERT: 6a8f6fc5 Pull request #3: restructured examples
REVERT: 34392582 motor_fault dataset filename updated
REVERT: c3e9b564 restructured examples
REVERT: 3d9b19ba Pull request #2: Added MotorFault single file example for QAT
REVERT: a440d7f2 added provision to change feature_size in the model
REVERT: 833a938f added option to enable QAT
REVERT: ba48ac65 motor fault example for qat with conv model
REVERT: 401f8aca Added MotorFault single file example for QAT
REVERT: 32a715ef AdaptiveAveragePool2d decides if it has to be offloaded to NPU or not based on output_size
REVERT: 04492deb TINYML_ALGO-196: TinyML TorchModel Optimization support for Global Average Pooling
REVERT: aa5c5f7b Added NPU support for AvgPool2d
REVERT: 976dfc55 Updated edgeai-torchmodelopt link in requirements
REVERT: 5c3ed5c8 Updated edgeai torchmodel opt repository for without quantization
REVERT: a93b76ff Code cleanup and removal of unused imports
REVERT: 74c4ca87 Pull request #1: tinyml-modeloptimization quantization wrapper update for latest edgeai-modeloptimization
REVERT: 1f4c70e2 quantization wapper update for latest edgeai-modeloptimization
REVERT: a84c82b0 TINYML_ALGO-187: Added Average Pool support
REVERT: def5cc35 Removed unused imports
REVERT: a3e4ad9d Removed unused imports
REVERT: 214bc65e Moved time.time() to a platform independent method
REVERT: f55b19b9 Preparation for 0.9 release
REVERT: 3f4dbf2c TINYML_ALGO-182: Added documentation for customers to use this repo independently.
REVERT: 97b7a685 Onnx version downgrade for Windows
REVERT: b652cbae Used pep517 to remove a deprecated warning during pip
REVERT: 271535c0 Moved back to Py3.10 because of onnx-sim, onnx-optimizer packages not supported on Windows for Py3.12
REVERT: 8fbabd8e Updated README
REVERT: d93b2be7 v0.8 release prep
REVERT: 96918709 TINYML_ALGO-169, TINYML_ALGO-170 : Moved to Python3.12
REVERT: 8f68fca2 Replaced forward slashes for cross OS compatibility
REVERT: 1531d9bc TINYML_ALGO-165: Quantization backend has to be fbgemm on Windows and qnnpack on Linux Version changed from 0.6.0 to 0.7.0
REVERT: c3b36abc Preparation for v0.6 release
REVERT: b006217b error message updated, minor cleanup
REVERT: 805f25a1 model convert() - minor changes
REVERT: 0eec3653 avoid warning in convert() about torch.tensor cloning
REVERT: 8163648c compute_offset_scale_shift function doc added
REVERT: d2d1c267 compute_offset_scale_shift RuntimeError with descriptive error message
REVERT: 48f99733 Version number update v0.2 to "0.5.0"
REVERT: 21d72661 LICENSE updated
REVERT: 47563deb Replaced TINIE with TINPU. TINYML_ALGO-78
REVERT: 16f45252 support additional layer types
REVERT: de2ed0ee Changed TINIE to TINPU, tinie to tinpu
REVERT: 57878248 Changed TinyML to Tiny ML
REVERT: 5c69aa9c version updated
REVERT: e0bc6756 offset scale shift fix for 1x2 size tensor (output of classification)
REVERT: 5e3cca5b Added pillow to be installed in requirements.txt
REVERT: 066c67b9 requirements.txt updatd
REVERT: 2e866da5 LICENSE file added
REVERT: 8ba20c22 quant measure_stats function moved to appropriate place
REVERT: e5b60dce tinie quant_utils fixes
REVERT: 67c6d53f minor restructuring
REVERT: 3a352375 fix in model convert - convert pattern cannot be functools.partial for now
REVERT: 9a3e93e7 quntized model convert for tinie - fixes
REVERT: 9df971a0 tinie quant convert - handle modesl with or without input BN
REVERT: eb7d9892 qconfig_type simplification
REVERT: 8afecc62 QATModule updated - Generic QAT can be converted to full quantized onnx
REVERT: 4fea7bd5 support for output_dequantize (disabled by default)
REVERT: 4c1eca55 model_quant_format - argument name change
REVERT: 5ca37309 quant_model_format - cosmetic fix
REVERT: 05626246 linear model conversion, onnx model simplify
REVERT: 5b2deeaf handing LinearReLU for model conversion
REVERT: 07c79ef2 fix for bn conversion
REVERT: 9a342859 model format - enum update
REVERT: 358fbba5 TINIEQuantizedReplacement - class added
REVERT: 1a05adf7 qat fixes for tinie
REVERT: a1747fc7 qat module fixes for convert()
REVERT: e2c5f4cd fixes for qat init function
REVERT: e0f4d5f1 quantization versions updated
REVERT: 67e1b6c3 quantization scripts added
REVERT: 4ea3522f model surgery for tinie model in progress
REVERT: 7c0c0d23 custom int model conversion in progress
REVERT: 25c7d76d model transformation on pytorch qdq model
REVERT: 281e37a2 model export example
REVERT: 6080ac4b qconfig_type can now be a dict
REVERT: b888fe12 model conversion to exisitng TINIE onnx format
REVERT: 892c36f7 quantization example being added
REVERT: cbc931ba setup file added
REVERT: 23bac0c8 initial commit

git-subtree-dir: tinyml-modeloptimization
git-subtree-split: 4562d5a008812fb18322684eb362e0715128e920
Adithya-Thonse added a commit that referenced this pull request Aug 14, 2026
b8838b5b TINYML_ALGO-820
REVERT: 8b1beff0 Pull request #53: Main dev
REVERT: 66c8a258 updated
REVERT: c176b560 minor update
REVERT: 10ef7599 Pull request #52: Adding preset in induction_motor_speed_prediction config.yaml
REVERT: 194cca42 adding preset in induction_motor_speed_prediction config.yaml
REVERT: 671df6cc Pull request #50: TINYML_ALGO-735: Removed Model Support for Regression, Anamoly Detection, Forecasting as Tasks does not exist for it.
REVERT: 9f911c91 TINYML_ALGO-735: Removed Model Support for Regression, Anamoly Detection, Forecasting as Tasks does not exist for it.
REVERT: bdc77319 Pull request #47: Dev mspm0
REVERT: 6286dfcd Pull request #49: Updated feature extraction preset
REVERT: 9936792e no message
REVERT: b5db6f86 Updated feature extraction preset
REVERT: 5a4752cf corrected the task type in yaml file
REVERT: 8b002130 updated task type in configuration file of hand gesture recognition
REVERT: 9140e13c Pull request #48: Dev mspm0
REVERT: 62dd5683 Conflict resolved
REVERT: b096f1eb Pull request #41: Bearing fault
REVERT: 9e097b9b TINYML_ALGO-724
REVERT: 14ea17ac TINYML_ALGO-724
REVERT: 983ee8fe Pull request #46: TINYML_ALGO-722: Added CC1314 PIR config file
REVERT: e720867d Merge branch 'dev_mspm0' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: 29dbdd1a config file for hand gesture recognition and its readme is added
REVERT: 914f2322 TINYML_ALGO-722: Added CC1314 PIR config file
REVERT: 0e5a4ba3 PR comments from Laavanya resolved
REVERT: de8af16d Pull request #45: https://jira.itg.ti.com/browse/TINYML_ALGO-698
REVERT: 37def77b no message
REVERT: 8d19528c https://jira.itg.ti.com/browse/TINYML_ALGO-698 Resolved NPU compliance issues in 20K, 40K, and 55K models by fixing layers that violated the conservative accumulator-depth rule:kernel_height × kernel_width × input_channels <= 256 20K: added 1x1 bottleneck before final 3x1 conv to avoid 3x1 over 128 channels 40K: added 1x1 bottleneck before 7x1 conv to reduce input channels from 40 to 36 55K: added 1x1 bottleneck before 5x1 conv to reduce input channels from 64 to 48
REVERT: 075bb03a Pull request #44: Changing quantization of hvac_indoor_forecasting example from 2 to 1
REVERT: 3496133b Changing quantization of hvac_indoor_forecasting example from 2 to 1
REVERT: 173a78c0 Pull request #43: Added NPU compliant variant of MobileNet_v2
REVERT: 9fbf9195 no message
REVERT: 4bc3cae1 Conflict resolved
REVERT: 2da3d194 no message
REVERT: 301f718c Anomaly detection yaml file changed
REVERT: 59ad5bc8 no message
REVERT: de1121ab Pull request #42: Google speech command audio example
REVERT: 97c0672e no message
REVERT: d4e7de63 no message
REVERT: 1efa83c5 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: 1c1de7e9 no message
REVERT: 81225092 Merge branch 'dev_mspm0' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: 7e60867d support for audio
REVERT: b88d82c5 Pull request #23: Added export_samples_per_class option in the config file and added ondevice learning documentation
REVERT: 3bdb7dfc Pull request #40: Moved the Config_MSPM0.yaml to fan blade fault
REVERT: dd6c8a8a Anomaly detection yaml changed
REVERT: 013d0eb7 Dataset for anomal detection added
REVERT: 9767dc87 Bearing fault model for M0
REVERT: c29472f9 Moved the Config_MSPM0.yaml to fan blade fault
REVERT: c4c185f2 fixed broken links
REVERT: de59d6d7 Pull request #38: Quantization change for forecasting models, variable name change to auto_quantization
REVERT: 6493d8b8 Pull request #36: Added fall detection application & fixed a documentation error [MSPML-162]
REVERT: 697c6b5b Pull request #35: Fixed minor naming/Doxygen issues
REVERT: 116d0de0 changing quantization for forecasting models to 2, variable name changed from partial_quantization to auto_quantization
REVERT: e43c4571 changing quantization for forecasting models to 2, variable name changed from partial_quantization to auto_quantization
REVERT: 7c62999d changing quantization for forecasting models to 2, variable name changed from partial_quantization to auto_quantization
REVERT: 1903ca16 minor
REVERT: 61ac66fa Pull request #37: TINYML_ALGO-714: Removed redundant operation
REVERT: dda17dda TINYML_ALGO-714: Removed redundant operation
REVERT: ecc844fa Added fall detection application & fixed a documentation error
REVERT: 41031b8e Added fall detection application & fixed a documentation error
REVERT: 1de499cd Pull request #34: Added two new image classification examples
REVERT: eba54b30 Fixed errors pointed by Qodo
REVERT: 588d3ab8 Added two new image classification examples: coffee bean classification and machine readable code classification https://jira.itg.ti.com/browse/MSPML-149
REVERT: 7a936b55 TINYML_ALGO-706
REVERT: 7c79d80d updated
REVERT: fd0815a1 TINYML_ALGO-705
REVERT: 442deb8d Pull request #33: Updated dataset names and removed redundant lines from config
REVERT: 9de8a1f0 Updated dataset names and removed redundant lines from config
REVERT: 61be623e Pull request #32: Feature/SL EDGEAI-45 enable cc2755xxx device support cls 4k npu model and documentation in ccstudio
REVERT: 93057540 SL_EDGEAI-52 - Enable CC13xx devices for Fan Blade
REVERT: 33043973 SL_EDGEAI-45, SL_EDGEAI-59: Add CC2755 and CC35X1 configs for fan blade fault classification
REVERT: b5c6ac42 Pull request #31: Added 9 classification models and 1 new application (gearbox fault)
REVERT: 6d9594f4 Added error handling and fixed linting issue
REVERT: 7ee77925 Added 9 classification models and 1 new application (gearbox fault)
REVERT: ab301c33 Pull request #30: SL_EDGEAI-43: Add CC1312 PIR detection configs
REVERT: 41c7e5bc TINYML_ALGO-706
REVERT: 2de4f335 TINYML_ALGO-706
REVERT: 841ad3fd SL_EDGEAI-43: Add CC1312 PIR detection configs
REVERT: 574d0a75 Pull request #29: Updated the configs with num_gpus=0 and updated old models with proper inputs from config
REVERT: 7c5e3ae7 Updated the configs with num_gpus=0 and updated old models with proper inputs from config
REVERT: 40fe2e0a Pull request #28: added example for forecasting for mspm0
REVERT: 65eb177a added example for forecasting for mspm0
REVERT: 929c3632 Pull request #27: bug fix for https://jira.itg.ti.com/browse/TINYML_ALGO-690
REVERT: d6d51a8f bug fix for https://jira.itg.ti.com/browse/TINYML_ALGO-690: having learning rate as just 1e-5 gives an error
REVERT: dce1f452 TINYML_ALGO-670
REVERT: d136bea0 TINYML_ALGO-663
REVERT: ec62234a Bug fix
REVERT: 25d50b2c TINYML_ALGO-137 , TINYML_ALGO-649 -  Created documentation for on device learning
REVERT: 3ea0abeb Fixed some formating issues in the anomaly detection compilation readme
REVERT: 89e225d4 TINYML_ALGO-559:  Added export_samples_per_class option in the config file. It enables the export of training data
REVERT: c30000aa TINYML_ALGO-652
REVERT: b1f8eece pytorch export of models with output size 4,1 is not supported. Changed to 1,1
REVERT: fc4f7679 Pull request #26: TINYML_ALGO-648 Remove artifacts from modelzoo examples
REVERT: c2acb944 Minor changes in doc
REVERT: ba686e70 Remove artifacts from modelzoo examples
REVERT: 43f79b9f Renamed modelmaker.sh instances to modelzoo.h
REVERT: ae68ce32 Pull request #25: README's for ECG,PIR, Character reco and AFCI
REVERT: 3be9755f no message
REVERT: 7f4c720a no message
REVERT: 90f5716e no message
REVERT: 446d55a2 no message
REVERT: 34078430 no message
REVERT: 85006d80 no message
REVERT: 614de69f no message
REVERT: 2cfb2cc8 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: fdb696ac Updated
REVERT: fa548af2 no message
REVERT: 7e814981 updated
REVERT: 9fe81a98 no message
REVERT: 635af11a added readme for pir, ecg, mnist classification, ac arc fault
REVERT: 338ec7a3 updated path for user_guide
REVERT: 8fad7291 typo fix
REVERT: 34cecff8 Pull request #24: MSPM0 config files and readme changes
REVERT: 19c8b620 am13 separated out
REVERT: 904a5a9c no message
REVERT: 34c6d5fa no message
REVERT: c750992b no message
REVERT: fd7a6d99 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: d3e121cb no message
REVERT: e217fbfc no message
REVERT: 4bb66f84 no message
REVERT: 4b626467 Updated with Link for User Guide
REVERT: bd22fdde Pull request #16: Changes in generic_timeseries_regression
REVERT: 0f67f1a2 no message
REVERT: 8315fe73 no message
REVERT: fe972c94 updated dataset path
REVERT: 485c93b7 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: 8378c056 no message
REVERT: 522b633b minor change
REVERT: 244fa59c minor changes
REVERT: 968bb444 Adding 2k regression model, changing generc_timeseries_regression example with good results for fully quantized and partially quantized
REVERT: 0bd7244a Removed keep_libc_files
REVERT: 9f672a9d Fixed two buggy models
REVERT: 9dafb065 Pull request #14: Updating versions to latest sdk versions in forecasting compilation guide
REVERT: 46c71880 removed zone identifier files
REVERT: 1931ea6f TINYML_ALGO-639
REVERT: 2b76f2a2 updated
REVERT: cb19e655 TINYML_ALGO-636, TINYML_ALGO-621, TINYML_ALGO-620, TINYML_ALGO-619, TINYML_ALGO-616
REVERT: c6c5357d Typos fixed
REVERT: a8338725 Pull request #21: Add CC1354 device support and update PIR detection configs
REVERT: 48ac2cc4 Move CC1354 hello world config to generic_timeseries_classification directory
REVERT: 1a20cb14 Add CC1354 device support and update PIR detection
REVERT: 758c6a8c Pull request #22: Added CC35X1 device support for PIR detection
REVERT: 115b98f0 Added CC35X1 device support for PIR detection
REVERT: 17a37402 minor
REVERT: bbd7a39b Pull request #20: TINYML_ALGO-632
REVERT: d8a083d4 TINYML_ALGO-632
REVERT: 14e05e7b Pull request #19: temp prediction update
REVERT: 7e043f55 removed feature_size_per_frame in config
REVERT: bf01e5a9 fixed variables range in config
REVERT: 81e81c73 fixed config dataset_name
REVERT: b13578e0 change example name to mosfet_temp_prediction and updated example config file
REVERT: 5f65dc1f Fixed typos and bugs
REVERT: 347525a6 Updated
REVERT: efbcfd51 Pull request #18: Dev btv
REVERT: 2ac10cef TINYML_ALGO-630
REVERT: c9488005 TINYML_ALGO-630
REVERT: 4d16de7f fixed grid_fault_detection readme
REVERT: 1c620ccf added grid_fault_detection, fet junc temp projects. Grid fault detection is updated. Temp prediction is placeholder
REVERT: 3c2bba24 Pull request #17: Bug fixes for edgeai release + added tensorlab only example for forecasting-mspm0
REVERT: 7bc7de41 Merge branch 'main-dev' of ssh://bitbucket.itg.ti.com/tinyml-algo/tinyml-modelzoo into dev_mspm0
REVERT: 39514e1c no message
REVERT: ce2d46a3 no message
REVERT: 5e101cb1 1. Added tensorlab only example for pmsm forecasting for mspm0 2.  corrected the labelling script aswell as updated the labelling script readme
REVERT: 4684566a Bug fixes in regression models
REVERT: 4d1f0585 Pull request #13: Correcting sdk versions and adding regression compilation doc link at end of each regression example
REVERT: f697a0cf Pull request #15: Updated the sdk versions and added compilation readme to other examples for anomaly detection.
REVERT: 0b37b49c Updated the sdk versions and added compilation readme to other examples for anomaly detection.
REVERT: bd8ccaa4 Updating versions to latest sdk versions in forecasting compilation guide
REVERT: 6d77757c correcting sdk versions, adding compilation guide link at end of regression examples
REVERT: 1b1260c2 Pull request #12: Linking classification on-device model inference guide at the end of two NILM examples
REVERT: 3f7130f0 Linking classification on-device model inference guide at the end of two NILM examples
REVERT: ce0ed2ae Pull request #10: TINYML_ALGO-606
REVERT: bdfaccb0 Updates
REVERT: e0c0edc0 Pull request #11: Added generic timeseries anomaly detection example and created readme for running the model and deploying it to the device
REVERT: 51d3d48c Pull request #8: [TINYML_ALGO-580: Hello World Example] [TINYML_ALGO-610: Guide for deploying forecasting models from ModelMaker to device]
REVERT: e70541ef Pull request #9: TINYML_ALGO-592, TINYML_ALGO-587 : Hello world example for regression and running on device documentation
REVERT: 0195a77f path changes in generic_timeseries_regression readme
REVERT: 500ca77a path changes in generic_timeseries_regression readme
REVERT: 4fc44678 Linking running model inference ondevice doc to other forecasting examples
REVERT: 587fe36e Minor fix
REVERT: 8f377f19 Modified supported devices
REVERT: ca5a291a Modified pmsm example
REVERT: 7c773be9 Changed input data path, Added forecasting support for these target devices: F29x, AM26x and M33
REVERT: 752a0077 Updated dataset links in generic timeseries anomaly detection
REVERT: b75c2d0f Added hello world example assets
REVERT: ed6c6c9a Modified hello world readme to comply with latest changesin modelzoo
REVERT: cd34ca11 TINYML_ALGO-607 Training options for ECG classification task does not have an option to enter number of epochs
REVERT: f0d24bd5 Add comprehensive documentation for deploying time series forecasting models to TI MCUs
REVERT: a4d8820b readme correction
REVERT: 07600f3b name change
REVERT: 7ef91aa9 Spell check and naming convention
REVERT: bd49a448 Added from other docs
REVERT: fb971e77 image correction
REVERT: a1608738 Added generic timeseries anomaly detection example and created readme for running the model and deploying it to the device TINYML_ALGO-605 TINYML_ALGO-432
REVERT: faadabc8 Updates
REVERT: 99295144 TINYML_ALGO-606 Modelzoo: Added compilation guide for classification examples
REVERT: d9c46371 changing torque_measurement_regression example readme to include deployment on device document
REVERT: e6a5dd1e changing washing machine example readme to include deploying on device
REVERT: 91d3fea0 regression hello world, and deploying on device
REVERT: fb2f8ea9 regression hello world, and deploying on device
REVERT: e44d6cf8 Simulated Thermostat Dataset as Generic Timeseries Forecasting example: Initial Commit
REVERT: dc1624c8 TINYML_ALGO-591
REVERT: 073f0848 Content Updates
REVERT: c2d83fca Updated to an existing model
REVERT: b9b6206d Pull request #7: fixes for EAI Studio
REVERT: 4fd51e18 no message
REVERT: 333a1083 resolved merge conflict
REVERT: 2aa3e053 added msp devices to ecg and pir classification aswell as make the cls 55k model specfic to ecg classification application
REVERT: 807e74d9 TINYML_ALGO-589
REVERT: 0c30971b TINYML_ALGO-589
REVERT: 6e9ea519 Pull request #6: corrections in the yaml file
REVERT: c3e23945 corrections in the yaml file
REVERT: 091b4ba6 Added dataset path
REVERT: 2fc09387 Pull request #4: TINYML_ALGO-585 : Adding plots in washing machine readme.md
REVERT: 3324caf3 Pull request #5: MSPM0
REVERT: 6663c3ae corrected the model names for the msp config yaml files
REVERT: 830b37a1 bug fix
REVERT: 3c25f461 Added ac arc fault, ecg, motor fault and pir config files for mspm0. added ecg as a task type
REVERT: 3ade6642 Typos Fixed
REVERT: b7eb4103 NPU opt models for regression
REVERT: 88786d98 run_info update for regression models
REVERT: e82d42ed added support for MSPM0G3519, and regression for MSPM0
REVERT: 2e1a7fb7 TINYML_ALGO-585: Washing machine weight loading readme adding plots
REVERT: 135dc7db TINYML_ALGO-585: Washing machine weight loading readme adding plots
REVERT: a756a9e4 TINYML_ALGO-585: Washing machine weight loading readme adding plots
REVERT: 047e3096 Minor
REVERT: 6041d298 updated
REVERT: 6d9a53f4 Merge branch 'main' into main-dev
REVERT: 90d8c9d3 Pull request #3: 2026/adithya/modelzoo
REVERT: c64a128c Changed file name
REVERT: 6860ebdb TINYML_ALGO-578, TINYML_ALGO-365, TINYML_ALGO-491, TINYML_ALGO-576, TINYML_ALGO-577
REVERT: b8f40a40 TINYML_ALGO-576
REVERT: 440d70c3 TINYML_ALGO-576
REVERT: ab73eeec TINYML_ALGO-457
REVERT: 6d839ad3 TINYML_ALGO-457
REVERT: bcf22643 README update
REVERT: f851e5e6 minor typo
REVERT: 1b045f9d Minor update
REVERT: 5aa8f709 Removed files
REVERT: 013d590b Added performance comparison of Motor Fault GUI models
REVERT: c99db977 Pull request #1: Model Zoo Readme
REVERT: 6cc4deef minor
REVERT: c6d9694c removed non _t models
REVERT: d945b394 updated
REVERT: 84fd2022 removed
REVERT: 284d4213 removed
REVERT: 047f191c FEP_vs_accuracy plots
REVERT: 925085f0 removed flash_vs_sram plots
REVERT: 7ddcb320 Model_zoo readme draft
REVERT: 36cb61e1 Model Zoo Readme
REVERT: 245a355b Model Zoo Readme
REVERT: c8116c00 Updated info according to TINYML_ALGO-112
REVERT: 2597e7bb Updated README
REVERT: 37bf95b1 Updated readme with more models
REVERT: 217e9623 Minor documentation change
REVERT: 0aedce0d Updated with more models
REVERT: 1f57d05e First Commit

git-subtree-dir: tinyml-modelzoo
git-subtree-split: b8838b5baa7ec49f29d3bc0402f8e8964aa1c85d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants